From 19d79963f2f51aba50552f57f4fcdbfe7736cc97 Mon Sep 17 00:00:00 2001 From: Artur Arseniev Date: Sun, 2 Jun 2019 22:14:02 +0200 Subject: [PATCH] Add grabbing classes in ComponentDrag --- src/commands/view/ComponentDrag.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/commands/view/ComponentDrag.js b/src/commands/view/ComponentDrag.js index f7384eb3c..91341bccf 100644 --- a/src/commands/view/ComponentDrag.js +++ b/src/commands/view/ComponentDrag.js @@ -420,8 +420,8 @@ module.exports = { const { ppfx, editor } = this; const methodCls = on ? 'add' : 'remove'; const canvas = this.getCanvas(); - // const classes = [`${ppfx}is__grabbing`]; - // classes.forEach(cls => canvas.classList[methodCls](cls)); + const classes = [`${ppfx}is__grabbing`]; + classes.forEach(cls => canvas.classList[methodCls](cls)); editor.Canvas[on ? 'startAutoscroll' : 'stopAutoscroll'](); } };