aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/cc/polyfrost/oneconfig/gui/OneConfigGui.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/cc/polyfrost/oneconfig/gui/OneConfigGui.java')
-rw-r--r--src/main/java/cc/polyfrost/oneconfig/gui/OneConfigGui.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/cc/polyfrost/oneconfig/gui/OneConfigGui.java b/src/main/java/cc/polyfrost/oneconfig/gui/OneConfigGui.java
index 940c4cb..468f59e 100644
--- a/src/main/java/cc/polyfrost/oneconfig/gui/OneConfigGui.java
+++ b/src/main/java/cc/polyfrost/oneconfig/gui/OneConfigGui.java
@@ -230,6 +230,7 @@ public class OneConfigGui extends GuiScreen {
* Close the current color selector and return the color it had when it closed.
*/
public OneColor closeColorSelector() {
+ currentColorSelector.onClose();
OneColor color = currentColorSelector.getColor();
currentColorSelector = null;
return color;