mirror of
https://github.com/JannisX11/blockbench.git
synced 2024-11-21 01:13:37 +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']}
|
||||
})
|
||||
|
||||
new BarMenu('timeline', Timeline.menu.structure, {
|
||||
name: 'panel.timeline',
|
||||
condition: {modes: ['animate'], method: () => !AnimationController.selected},
|
||||
onOpen() {
|
||||
setActivePanel('timeline');
|
||||
}
|
||||
})
|
||||
|
||||
new BarMenu('display', [
|
||||
'copy',
|
||||
'paste',
|
||||
|
Loading…
Reference in New Issue
Block a user