Skip to content

Commit

Permalink
Do not silence draw events in setDrawings, fixes #939
Browse files Browse the repository at this point in the history
  • Loading branch information
ivmartel committed Jun 3, 2021
1 parent 5fb0850 commit eefb4d7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/app/drawController.js
Original file line number Diff line number Diff line change
Expand Up @@ -321,8 +321,7 @@ dwv.DrawController = function (konvaLayer) {
var shape = stateGroup.getChildren(dwv.draw.isNodeNameShape)[0];
// create the draw command
var cmd = new dwv.tool.DrawGroupCommand(
stateGroup, shape.className,
konvaLayer, true);
stateGroup, shape.className, konvaLayer);
// draw command callbacks
cmd.onExecute = cmdCallback;
cmd.onUndo = cmdCallback;
Expand Down

0 comments on commit eefb4d7

Please sign in to comment.