Skip to content

Commit

Permalink
Fix swatch getting transparent on double click
Browse files Browse the repository at this point in the history
  • Loading branch information
OverloadedOrama committed Mar 14, 2023
1 parent 30d279c commit 4bf7829
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Palette/PalettePanel.gd
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 4bf7829

Please # to comment.