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:
parent
30d279c494
commit
4bf7829b0a
|
@ -162,6 +162,7 @@ func _on_PaletteGrid_swatch_double_clicked(_mb: int, index: int, click_position:
|
||||||
var color = Palettes.current_palette_get_color(index)
|
var color = Palettes.current_palette_get_color(index)
|
||||||
edited_swatch_index = index
|
edited_swatch_index = index
|
||||||
hidden_color_picker.color = color
|
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
|
# Open color picker popup with it's right bottom corner next to swatch
|
||||||
var popup = hidden_color_picker.get_popup()
|
var popup = hidden_color_picker.get_popup()
|
||||||
|
|
Loading…
Reference in a new issue