From 194e358740f872095f445d94060cc92558a2e988 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jindra=20Pet=C5=99=C3=ADk?= Date: Sun, 22 Oct 2023 10:41:56 +0200 Subject: [PATCH] Fixed Centered start playing triangle (Playing on demand) --- CHANGELOG.md | 1 + src/com/jpexs/decompiler/flash/gui/ImagePanel.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3b55edd51..e265e03f5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,7 @@ All notable changes to this project will be documented in this file. - GFX - FontTextureInfo tag reading - GFX - Fonts with stripped shapes - [#2104] Empty texts import +- Centered start playing triangle (Playing on demand) ### Changed - Basic tag info panel always visible even when nothing to display (to avoid flickering) diff --git a/src/com/jpexs/decompiler/flash/gui/ImagePanel.java b/src/com/jpexs/decompiler/flash/gui/ImagePanel.java index 6fb6c22a9..1c3cdecd6 100644 --- a/src/com/jpexs/decompiler/flash/gui/ImagePanel.java +++ b/src/com/jpexs/decompiler/flash/gui/ImagePanel.java @@ -803,7 +803,7 @@ public final class ImagePanel extends JPanel implements MediaDisplay { if (img != null) { int x = 0; int y = 0; - if (timelined == null) { + if (timelined == null || !autoPlayed) { x = (int) offsetPoint.getX(); y = (int) offsetPoint.getY(); }