mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-26 08:40:47 +00:00
mainpanel refactored, allow paging in font preview (only internal viewer)
This commit is contained in:
@@ -323,7 +323,16 @@ public class Timeline {
|
||||
}
|
||||
|
||||
public boolean isSingleFrame() {
|
||||
Frame frameObj = frames.get(0);
|
||||
for (int i = 0; i < frames.size(); i++) {
|
||||
if (!isSingleFrame(i)) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
private boolean isSingleFrame(int frame) {
|
||||
Frame frameObj = frames.get(frame);
|
||||
for (int i = 1; i <= getMaxDepth(); i++) {
|
||||
if (!frameObj.layers.containsKey(i)) {
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user