shift click to select multiple objects

This commit is contained in:
Skyler Lehmkuhl 2024-12-05 17:11:51 -05:00
parent 7f34e0e542
commit f7e26a074c
1 changed files with 5 additions and 1 deletions

View File

@ -2191,7 +2191,11 @@ function stage() {
// dragging = true // dragging = true
} }
child.saveState() child.saveState()
if (e.shiftKey) {
context.selection.push(child)
} else {
context.selection = [child] context.selection = [child]
}
context.dragging = true context.dragging = true
selected = true selected = true
context.activeObject.currentFrame.saveState() context.activeObject.currentFrame.saveState()