修复 JFXColorPicker 到 JFXCustomColorPickerDialog 颜色信息传递问题 (#5776)

Resolve #5766
This commit is contained in:
Damon Lu authored and GitHub committed 2026-03-13 21:21:36 +08:00
1 parent 5909c73c48
commit 7c5430424f
1 file changed
+3
@@ -309,6 +309,9 @@ public class JFXCustomColorPickerDialog extends StackPane {
public void setCurrentColor(Color currentColor) {
this.currentColorProperty.set(currentColor);
if (curvedColorPicker != null && currentColor != null) {
curvedColorPicker.setColor(currentColor);
}
}
Color getCurrentColor() {