Browse Source

REPORT-1096 取色板=》调整代码

master
plough 8 years ago
parent
commit
10204d76da
  1. 9
      designer_base/src/com/fr/design/style/color/ColorPicker.java

9
designer_base/src/com/fr/design/style/color/ColorPicker.java

@ -127,13 +127,8 @@ public class ColorPicker extends JDialog implements ActionListener
private class MouseFunctions extends MouseAdapter
{
public void mousePressed(MouseEvent e)
{
if (e.getButton() == e.BUTTON1) { // 左键确定
pickComplete(true);
} else {
pickComplete(false);
}
public void mousePressed(MouseEvent e) {
pickComplete(e.getButton() == e.BUTTON1); // 左键确定
}
}
}

Loading…
Cancel
Save