mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
Fix user messages
I fixed the local storage service, user messages were jsut working fine. I updated the UXD, they are now sticky to the right-bottom corner.
This commit is contained in:
@ -30,8 +30,8 @@
|
||||
*/
|
||||
ns.LocalStorageService.prototype.persistToLocalStorage_ = function() {
|
||||
|
||||
// console.log('[LocalStorage service]: Snapshot stored');
|
||||
// window.localStorage.snapShot = this.framesheet.serialize();
|
||||
console.log('[LocalStorage service]: Snapshot stored');
|
||||
window.localStorage.snapShot = this.framesheet.serialize();
|
||||
};
|
||||
|
||||
/**
|
||||
@ -55,7 +55,6 @@
|
||||
* @public
|
||||
*/
|
||||
ns.LocalStorageService.prototype.init = function(framesheet_) {
|
||||
|
||||
$.subscribe(Events.LOCALSTORAGE_REQUEST, $.proxy(this.persistToLocalStorageRequest_, this));
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user