Fix clicking on frames not updating the stage

This commit is contained in:
Skyler Lehmkuhl 2024-12-22 02:07:55 -05:00
parent 516dbffd12
commit 2d58a89e5f
1 changed files with 1 additions and 0 deletions

View File

@ -3716,6 +3716,7 @@ function timeline() {
mouse.x += timeline_cvs.offsetX - layerWidth
timeline_cvs.clicked_frame = Math.floor(mouse.x / frameWidth)
context.activeObject.setFrameNum(timeline_cvs.clicked_frame)
updateUI()
} else {
mouse.y -= gutterHeight
let l = Math.floor(mouse.y / layerHeight)