mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
Added comment
This commit is contained in:
parent
aae994b3d5
commit
5d4ba0b79f
@ -36,6 +36,7 @@
|
|||||||
ns.SavedStatusService.prototype.updateDirtyStatus = function (status) {
|
ns.SavedStatusService.prototype.updateDirtyStatus = function (status) {
|
||||||
var piskel = this.piskelController_.piskel;
|
var piskel = this.piskelController_.piskel;
|
||||||
if (piskel.isDirty_ !== status) {
|
if (piskel.isDirty_ !== status) {
|
||||||
|
// Redraw piskel name only if dirty status actually changed
|
||||||
piskel.isDirty_ = status;
|
piskel.isDirty_ = status;
|
||||||
this.updatePiskelName();
|
this.updatePiskelName();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user