mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-07-03 18:04:32 +00:00
Merge origin/master
This commit is contained in:
@@ -2826,7 +2826,7 @@ public final class SWF implements SWFContainerItem, Timelined {
|
||||
if (timeline.fontFrameNum != -1) {
|
||||
dframe = timeline.fontFrameNum;
|
||||
} else {
|
||||
dframe = (time + layer.time) % drawableFrameCount;
|
||||
dframe = time % drawableFrameCount;
|
||||
}
|
||||
|
||||
if (character instanceof ButtonTag) {
|
||||
@@ -2890,7 +2890,7 @@ public final class SWF implements SWFContainerItem, Timelined {
|
||||
img = new SerializableImage(newWidth, newHeight, SerializableImage.TYPE_INT_ARGB);
|
||||
img.fillTransparent();
|
||||
|
||||
drawable.toImage(dframe, layer.time + time, layer.ratio, renderContext, img, m, clrTrans);
|
||||
drawable.toImage(dframe, time, layer.ratio, renderContext, img, m, clrTrans);
|
||||
|
||||
if (cacheKey != null) {
|
||||
renderContext.shapeCache.put(cacheKey, img);
|
||||
|
||||
@@ -308,7 +308,7 @@ public class FolderPreviewPanel extends JPanel {
|
||||
zoom = ratio;
|
||||
}
|
||||
}
|
||||
imgSrc = SWF.frameToImageGet(swf.getTimeline(), fn.frame, 0, null, 0, rect, new Matrix(), new ColorTransform(), null, true, zoom);
|
||||
imgSrc = SWF.frameToImageGet(swf.getTimeline(), fn.frame, fn.frame, null, 0, rect, new Matrix(), new ColorTransform(), null, true, zoom);
|
||||
width = imgSrc.getWidth();
|
||||
height = imgSrc.getHeight();
|
||||
} else if (treeItem instanceof ImageTag) {
|
||||
|
||||
Reference in New Issue
Block a user