Fixed #1695 Freetransform tool vs zooming

Fixed #1752 Freetransform tool on sprites with offset
This commit is contained in:
Jindra Petřík
2022-10-28 21:03:40 +02:00
parent 83334fd2ac
commit 8e011e6392
4 changed files with 24 additions and 16 deletions

View File

@@ -158,6 +158,10 @@ public class DefineSpriteTag extends DrawableTag implements Timelined {
@Override
public void resetTimeline() {
Cache<CharacterTag, RECT> cache = swf == null ? null : swf.getRectCache();
if (cache != null) {
cache.remove(this);
}
if (timeline != null) {
timeline.reset(swf, this, spriteId, getRect());
}