mark tiled image as needing an update when opacity changes

This commit is contained in:
Tom 2025-01-06 09:39:28 -05:00
parent 56d0d982da
commit 3f22b6aa3a
2 changed files with 1 additions and 0 deletions

View File

@ -997,6 +997,7 @@ $.extend($.TiledImage.prototype, $.EventSource.prototype, /** @lends OpenSeadrag
this._opacity = opacity;
this._needsDraw = true;
this._needsUpdate = true;
/**
* Raised when the TiledImage's opacity is changed.
* @event opacity-change

BIN
test/data/black.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 417 B