Delete events should animate when played (#5919)

Same as PR #5640, except for the addition of a parameter in the JSON to turn this on or off.  While one would normally want animations/sounds on (e.g. undo/redo stack) sometimes they'd be annoying (e.g. events from realtime collaborators).
This commit is contained in:
Neil Fraser
2022-02-11 14:20:10 -08:00
committed by GitHub
parent 60ee40014e
commit bce4c5e2c6
4 changed files with 24 additions and 3 deletions

View File

@@ -469,6 +469,7 @@ suite('Events', function() {
'x': 0,
'y': 0,
},
ui: true,
}),
},
{
@@ -488,6 +489,7 @@ suite('Events', function() {
'x': 0,
'y': 0,
},
ui: true,
recordUndo: false,
}),
},
@@ -509,6 +511,7 @@ suite('Events', function() {
'x': 0,
'y': 0,
},
ui: true,
}),
},
{
@@ -529,6 +532,7 @@ suite('Events', function() {
'x': 0,
'y': 0,
},
ui: true,
recordUndo: false,
}),
},