mirror of
https://github.com/JannisX11/blockbench.git
synced 2024-11-27 04:21:46 +08:00
Add timeline menu to menu bar
This commit is contained in:
parent
0b124dc8a0
commit
2013208317
@ -359,6 +359,14 @@ const MenuBar = {
|
|||||||
condition: {modes: ['animate']}
|
condition: {modes: ['animate']}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
new BarMenu('timeline', Timeline.menu.structure, {
|
||||||
|
name: 'panel.timeline',
|
||||||
|
condition: {modes: ['animate'], method: () => !AnimationController.selected},
|
||||||
|
onOpen() {
|
||||||
|
setActivePanel('timeline');
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
new BarMenu('display', [
|
new BarMenu('display', [
|
||||||
'copy',
|
'copy',
|
||||||
'paste',
|
'paste',
|
||||||
|
Loading…
Reference in New Issue
Block a user