mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
Fix broken palette when swithcing tiles
This commit is contained in:
@ -88,7 +88,7 @@
|
||||
// Initialize palette:
|
||||
this.createPalette_(this.framesheet.getUsedColors());
|
||||
|
||||
$.subscribe(Events.FRAMESHEET_RESET, $.proxy(function(evt) {
|
||||
$.subscribe(Events.FRAMESHEET_RELOADED, $.proxy(function(evt) {
|
||||
this.createPalette_(this.framesheet.getUsedColors());
|
||||
}, this));
|
||||
|
||||
|
Reference in New Issue
Block a user