mirror of
https://github.com/tonytins/CozyPixelStudio.git
synced 2025-06-25 17:34:43 -04:00
Fix GDScript warnings pertaining to unused arguments
Those warnings can be ignored by prefixing the argument with an underscore.
This commit is contained in:
parent
e06586edce
commit
386473845e
5 changed files with 6 additions and 7 deletions
|
@ -115,5 +115,5 @@ func _on_EditPaletteColorPicker_color_changed(color : Color) -> void:
|
|||
working_palette.set_color(current_swatch, color)
|
||||
_refresh_hint_tooltip(current_swatch)
|
||||
|
||||
func _refresh_hint_tooltip(index : int):
|
||||
func _refresh_hint_tooltip(_index : int):
|
||||
palette_grid.get_child(current_swatch).hint_tooltip = "#" + working_palette.get_color_data(current_swatch).to_upper() + " " + working_palette.get_color_name(current_swatch)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue