Issue #840 - Fix grid space not updating until next action by forcing DOM regen

This commit is contained in:
Joanne Hong 2018-08-09 21:15:37 +01:00
parent 230a38bf07
commit ba7d79b723

View File

@ -28,7 +28,7 @@
ns.FramesListController.prototype.init = function() { ns.FramesListController.prototype.init = function() {
$.subscribe(Events.TOOL_RELEASED, this.flagForRedraw_.bind(this)); $.subscribe(Events.TOOL_RELEASED, this.flagForRedraw_.bind(this));
$.subscribe(Events.PISKEL_RESET, this.flagForRedraw_.bind(this, true)); $.subscribe(Events.PISKEL_RESET, this.flagForRedraw_.bind(this, true));
$.subscribe(Events.USER_SETTINGS_CHANGED, this.flagForRedraw_.bind(this)); $.subscribe(Events.USER_SETTINGS_CHANGED, this.flagForRedraw_.bind(this, true));
$.subscribe(Events.PISKEL_RESET, this.refreshZoom_.bind(this)); $.subscribe(Events.PISKEL_RESET, this.refreshZoom_.bind(this));