[ui] remove disabling color picker on Wayland

The Robot crash was fixed within JRE-254
This commit is contained in:
Alexey Ushakov
2017-05-19 15:29:38 +03:00
parent 71857a9569
commit 26d2f1160e
@@ -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();