mirror of
https://github.com/1j01/textual-paint.git
synced 2024-09-11 15:56:03 +03:00
Use current HSL state when submitting Edit Colors
This commit is contained in:
parent
7e32bf68c1
commit
4f00b95d1a
@ -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."""
|
||||
|
Loading…
Reference in New Issue
Block a user