mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-17 01:01:53 +00:00
Fixed: Drawing points and shape paths highlighting did not respect UI scale factor
This commit is contained in:
@@ -928,7 +928,7 @@ public final class ImagePanel extends JPanel implements MediaDisplay {
|
||||
trans.scale(1 / SWF.unitDivisor, 1 / SWF.unitDivisor);
|
||||
trans.scale(zoomDouble, zoomDouble);
|
||||
AffineTransform oldTransform = g2.getTransform();
|
||||
g2.setTransform(trans);
|
||||
g2.transform(trans);
|
||||
|
||||
if (hilightedEdge != null) {
|
||||
g2.setStroke(new BasicStroke((float) (SWF.unitDivisor * 6 / zoomDouble)));
|
||||
|
||||
Reference in New Issue
Block a user