mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
Fix : Plug PreviewFilmController to USER_SETTING_CHANGED
This commit is contained in:
parent
23f1e8908e
commit
76044fa6d4
@ -20,8 +20,11 @@
|
|||||||
ns.PreviewFilmController.prototype.init = function() {
|
ns.PreviewFilmController.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));
|
$.subscribe(Events.PISKEL_RESET, this.flagForRedraw_.bind(this));
|
||||||
|
$.subscribe(Events.USER_SETTINGS_CHANGED, this.flagForRedraw_.bind(this));
|
||||||
|
|
||||||
$.subscribe(Events.PISKEL_RESET, this.refreshZoom_.bind(this));
|
$.subscribe(Events.PISKEL_RESET, this.refreshZoom_.bind(this));
|
||||||
|
|
||||||
|
|
||||||
$('#preview-list-scroller').scroll(this.updateScrollerOverflows.bind(this));
|
$('#preview-list-scroller').scroll(this.updateScrollerOverflows.bind(this));
|
||||||
this.container.get(0).addEventListener('click', this.onContainerClick_.bind(this));
|
this.container.get(0).addEventListener('click', this.onContainerClick_.bind(this));
|
||||||
this.updateScrollerOverflows();
|
this.updateScrollerOverflows();
|
||||||
|
Loading…
Reference in New Issue
Block a user