1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-01-19 01:29:49 +00:00

Fix swatch getting transparent on double click

This commit is contained in:
Emmanouil Papadeas 2023-03-14 15:24:15 +02:00
parent 30d279c494
commit 4bf7829b0a

View file

@ -162,6 +162,7 @@ func _on_PaletteGrid_swatch_double_clicked(_mb: int, index: int, click_position:
var color = Palettes.current_palette_get_color(index)
edited_swatch_index = index
hidden_color_picker.color = color
hidden_color_picker.emit_signal("color_changed", hidden_color_picker.color)
# Open color picker popup with it's right bottom corner next to swatch
var popup = hidden_color_picker.get_popup()