add _needsUpdate during tiledImage.setClip()

This commit is contained in:
Tom 2024-10-07 18:19:38 -04:00
parent 17c34a7985
commit 263a664e58

View File

@ -878,6 +878,7 @@ $.extend($.TiledImage.prototype, $.EventSource.prototype, /** @lends OpenSeadrag
this._clip = null; this._clip = null;
} }
this._needsUpdate = true;
this._needsDraw = true; this._needsDraw = true;
/** /**
* Raised when the TiledImage's clip is changed. * Raised when the TiledImage's clip is changed.