refresh timeline on new file
This commit is contained in:
+2
-1
@@ -1954,12 +1954,13 @@ function _newFile(width, height, fps) {
|
||||
stage.style.height = `${height}px`
|
||||
}
|
||||
updateUI()
|
||||
updateLayers()
|
||||
updateMenu()
|
||||
}
|
||||
|
||||
async function newFile() {
|
||||
if (await confirmDialog("Create a new file? Unsaved work will be lost.", {title: "New file", kind: "warning"})) {
|
||||
showNewFileDialog()
|
||||
// updateUI()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user