|
|
@ -4,6 +4,7 @@ package com.fr.design.style.color; |
|
|
|
* Created by plough on 2016/12/22. |
|
|
|
* Created by plough on 2016/12/22. |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import com.fr.design.DesignerEnvManager; |
|
|
|
import com.fr.design.utils.gui.GUICoreUtils; |
|
|
|
import com.fr.design.utils.gui.GUICoreUtils; |
|
|
|
import com.fr.general.IOUtils; |
|
|
|
import com.fr.general.IOUtils; |
|
|
|
import com.fr.log.FineLoggerFactory; |
|
|
|
import com.fr.log.FineLoggerFactory; |
|
|
@ -137,6 +138,7 @@ public class ColorPicker extends JDialog implements ActionListener { |
|
|
|
timer.stop(); |
|
|
|
timer.stop(); |
|
|
|
if (setColor) { |
|
|
|
if (setColor) { |
|
|
|
colorSelectable.setColor(colorToSet); |
|
|
|
colorSelectable.setColor(colorToSet); |
|
|
|
|
|
|
|
DesignerEnvManager.getEnvManager().getColorConfigManager().addToColorQueue(new Color(colorToSet.getRGB())); |
|
|
|
} |
|
|
|
} |
|
|
|
this.dispose(); |
|
|
|
this.dispose(); |
|
|
|
} |
|
|
|
} |
|
|
|