Added: Simple editor - Button timeline header

This commit is contained in:
Jindra Petřík
2025-05-17 17:54:18 +02:00
parent b8c67a2bc3
commit dd49a7e73b
6 changed files with 106 additions and 62 deletions

View File

@@ -746,7 +746,7 @@ public class Timeline {
for (int d = 0; d <= maxDepth; d++) {
for (int f = frames.size() - 1; f >= 0; f--) {
if (frames.get(f).layers.get(d) != null) {
depthMaxFrame.put(d, f);
depthMaxFrame.put(d, f);
break;
}
}
@@ -766,6 +766,8 @@ public class Timeline {
}
}
}
} else {
depthMaxFrameButtons.putAll(depthMaxFrame);
}
}

View File

@@ -161,7 +161,7 @@ public class BUTTONRECORD implements Serializable, TreeItem, HasSwfAndTag, HasCh
public BUTTONRECORD(BUTTONRECORD source) {
this.buttonHasBlendMode = source.buttonHasBlendMode;
this.buttonHasFilterList = source.buttonHasFilterList;
this.buttonStateHitTest =source. buttonStateHitTest;
this.buttonStateHitTest = source.buttonStateHitTest;
this.buttonStateDown = source.buttonStateDown;
this.buttonStateOver = source.buttonStateOver;
this.buttonStateUp = source.buttonStateUp;
@@ -175,8 +175,6 @@ public class BUTTONRECORD implements Serializable, TreeItem, HasSwfAndTag, HasCh
this.tag = source.tag;
this.modified = source.modified;
}
/**
* Constructor.
@@ -349,5 +347,5 @@ public class BUTTONRECORD implements Serializable, TreeItem, HasSwfAndTag, HasCh
return false;
}
return true;
}
}
}