diff --git a/CHANGELOG.md b/CHANGELOG.md index fcab7c267..9a152f200 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -24,6 +24,7 @@ All notable changes to this project will be documented in this file. - [#2400] Transforming - buttons must use hit test frame outline - [#2413] AS3 direct editation - try/catch clause in instance initializer - [#2386] Editor mode - not able to save shape/morphshape points +- Loading icon did not respect UI scale factor ## [22.0.2] - 2025-01-17 ### Added diff --git a/src/com/jpexs/decompiler/flash/gui/LoadingPanel.java b/src/com/jpexs/decompiler/flash/gui/LoadingPanel.java index 88276555a..bc7b2e4b2 100644 --- a/src/com/jpexs/decompiler/flash/gui/LoadingPanel.java +++ b/src/com/jpexs/decompiler/flash/gui/LoadingPanel.java @@ -135,7 +135,7 @@ public class LoadingPanel extends JPanel { g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON); AffineTransform t = AffineTransform.getRotateInstance(getRotation(), size / 2.0, size / 2.0); - g2.setTransform(t); + g2.transform(t); g2.drawImage(lastImage, 0, 0, this); }