mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[ui] remove disabling color picker on Wayland
The Robot crash was fixed within JRE-254
This commit is contained in:
@@ -1090,9 +1090,6 @@ public class ColorPicker extends JPanel implements ColorListener, DocumentListen
|
||||
|
||||
@Override
|
||||
public boolean isAvailable() {
|
||||
if (SystemInfo.isWayland) {
|
||||
return false;
|
||||
}
|
||||
if (myRobot != null) {
|
||||
myRobot.createScreenCapture(new Rectangle(0, 0, 1, 1));
|
||||
return WindowManager.getInstance().isAlphaModeSupported();
|
||||
|
||||
Reference in New Issue
Block a user