Remove trailing whitespace and ensure newlines at end of files

This commit is contained in:
Hugo Locurcio 2019-10-25 16:38:38 +02:00
parent c08561b92b
commit f407de234b
No known key found for this signature in database
GPG key ID: 39E8F8BE30B0A49C
10 changed files with 112 additions and 115 deletions

View file

@ -26,14 +26,14 @@ func changed_selection() -> void:
if Global.canvas.current_layer_index == child.i:
child.currently_selected = true
child.get_stylebox("panel").bg_color = Color("282532")
if Global.canvas.current_layer_index < Global.canvas.layers.size() - 1:
Global.move_up_layer_button.disabled = false
Global.move_up_layer_button.mouse_default_cursor_shape = Control.CURSOR_POINTING_HAND
else:
Global.move_up_layer_button.disabled = true
Global.move_up_layer_button.mouse_default_cursor_shape = Control.CURSOR_FORBIDDEN
if Global.canvas.current_layer_index > 0:
Global.move_down_layer_button.disabled = false
Global.move_down_layer_button.mouse_default_cursor_shape = Control.CURSOR_POINTING_HAND
@ -61,4 +61,4 @@ func _on_VisibilityButton_button_down() -> void:
visibility_toggled = true
func _on_VisibilityButton_button_up() -> void:
visibility_toggled = false
visibility_toggled = false