Browse Source

Merge pull request #9247 in DESIGN/design from release/11.0 to bugfix/11.0

* commit 'a273f0c4480a04c2264cba79b36ee33ac3347870':
  REPORT-73488 使用取色器配置颜色后,最近使用的颜色列表不会被更新
bugfix/11.0
superman 2 years ago
parent
commit
46b23dd7df
  1. 2
      designer-base/src/main/java/com/fr/design/style/color/ColorPicker.java

2
designer-base/src/main/java/com/fr/design/style/color/ColorPicker.java

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

Loading…
Cancel
Save