Use current HSL state when submitting Edit Colors

This commit is contained in:
Isaiah Odhner 2023-05-24 23:03:48 -04:00
parent 7e32bf68c1
commit 4f00b95d1a

View File

@ -294,7 +294,7 @@ class EditColorsDialogWindow(DialogWindow):
if button.has_class("cancel"):
self.request_close()
elif button.has_class("ok"):
self.handle_selected_color(self.color_grid.selected_color)
self.handle_selected_color(self._get_current_color().hex)
def on_mount(self) -> None:
"""Called when the window is mounted."""