trackeditor: Do not disable transparency panel

Unfortunately,
AbstractColorChooserPanel.setColorTransparencySelectionEnabled was
introduced by Java 9, whereas Speed Dreams still targets Java 8 (aka
1.8).

Despite the more confusing GUI, which allows users to adjust
transparency, it returns the same Color to the caller regardless
transparency, so no regressions are introduced.


git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9533 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 747030115c46ef36e4e9e644e8c1c04cc26ccf2c
Former-commit-id: 2e4e0df74521e4f16371d8832cdd6b4f6e3e34f1
This commit is contained in:
xavi92 2024-08-11 15:40:48 +00:00
parent 4822aa7866
commit ef21cb35d7

View file

@ -640,10 +640,6 @@ public class ObjectProperties extends PropertyPanel
{
colorChooser.removeChooserPanel(panel);
}
else
{
panel.setColorTransparencySelectionEnabled(false);
}
}
MyColorTracker ok = new MyColorTracker(colorChooser);