[v9.2.x] Canvas: Improve disabled inline editing UX (#58614)
Canvas: Improve disabled inline editing UX (#58610)
(cherry picked from commit fd6edbf8c5)
Co-authored-by: Nathan Marrs <nathanielmarrs@gmail.com>
This commit is contained in:
co-authored by
Nathan Marrs
parent
707800cd6c
commit
2c28ae5e70
@@ -472,7 +472,7 @@ export class Scene {
|
||||
this.selecto.getSelectedTargets()[0].style.cursor = 'grabbing';
|
||||
}
|
||||
|
||||
if (isTargetMoveableElement || isTargetAlreadySelected) {
|
||||
if (isTargetMoveableElement || isTargetAlreadySelected || !this.isEditingEnabled) {
|
||||
// Prevent drawing selection box when selected target is a moveable element or already selected
|
||||
event.stop();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user