mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-25 19:50:45 +00:00
WIP: Double click to item on timeline edits item in place
This commit is contained in:
+10
-1
@@ -649,7 +649,12 @@ public class InstancePropertiesPanel extends AbstractPropertiesPanel {
|
||||
|
||||
if (dss.size() == 1) {
|
||||
EasyTagNameResolver resolver = new EasyTagNameResolver();
|
||||
instanceLabel.setText(EasyStrings.translate("properties.instance.single").replace("%item%", resolver.getTagName(dss.get(0).getCharacter())));
|
||||
DepthState ds = dss.get(0);
|
||||
if (ds == null) {
|
||||
instanceLabel.setText("");
|
||||
} else {
|
||||
instanceLabel.setText(EasyStrings.translate("properties.instance.single").replace("%item%", resolver.getTagName(ds.getCharacter())));
|
||||
}
|
||||
} else {
|
||||
instanceLabel.setText(EasyStrings.translate("properties.instance.multiple").replace("%count%", "" + dss.size()));
|
||||
}
|
||||
@@ -703,6 +708,10 @@ public class InstancePropertiesPanel extends AbstractPropertiesPanel {
|
||||
backgroundColor.add(ds.backGroundColor);
|
||||
}
|
||||
|
||||
if (visible.size() == 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
alphaPercentPropertyField.setValue(alphaPercent, true);
|
||||
alphaAddPropertyField.setValue(alphaAdd, true);
|
||||
|
||||
Reference in New Issue
Block a user