mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-07-18 19:29:50 +00:00
Fixed Incorrect position in Flash Player preview and SWF export
This commit is contained in:
committed by
Jindra Petřík
parent
3a3cac1fe9
commit
f125c311f9
@@ -435,8 +435,8 @@ public class PreviewExporter {
|
||||
RECT r = ((BoundedTag) treeItem).getRect();
|
||||
rxmin = r.Xmin;
|
||||
rymin = r.Ymin;
|
||||
/*mat.translateX = -r.Xmin;
|
||||
mat.translateY = -r.Ymin;*/
|
||||
mat.translateX = -r.Xmin;
|
||||
mat.translateY = -r.Ymin;
|
||||
mat.translateX = mat.translateX + width / 2 - r.getWidth() / 2;
|
||||
mat.translateY = mat.translateY + (showControls ? height - progressBarHeight * 20 : height) / 2 - r.getHeight() / 2;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user