refactor: remove trailing whitespace from all .gd files
Not sure why these files were not included in https://github.com/godot-escoria/escoria-demo-game/pull/494. Created this diff by running the following on Linux: ``` find -name \*.gd | xargs sed -i -e "s/[[:space:]]\+$//g" ```
This commit is contained in:
committed by
Julian Murgia
parent
58476828c6
commit
7bf3e9f276
@@ -275,7 +275,6 @@ func inventory_item_unfocused() -> void:
|
|||||||
ESCActionManager.ACTION_INPUT_STATE.AWAITING_ITEM:
|
ESCActionManager.ACTION_INPUT_STATE.AWAITING_ITEM:
|
||||||
tooltip.set_target("")
|
tooltip.set_target("")
|
||||||
verbs_menu.unselect_actions()
|
verbs_menu.unselect_actions()
|
||||||
|
|
||||||
ESCActionManager.ACTION_INPUT_STATE.AWAITING_TARGET_ITEM:
|
ESCActionManager.ACTION_INPUT_STATE.AWAITING_TARGET_ITEM:
|
||||||
tooltip.set_target2("")
|
tooltip.set_target2("")
|
||||||
|
|
||||||
|
|||||||
@@ -30,5 +30,3 @@ func set_by_name(action_name: String):
|
|||||||
selected_action = action_name
|
selected_action = action_name
|
||||||
for but in get_children():
|
for but in get_children():
|
||||||
but.set_pressed(but.get_name() == action_name)
|
but.set_pressed(but.get_name() == action_name)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -141,7 +141,6 @@ func left_click_on_inventory_item(inventory_item_global_id: String, event: Input
|
|||||||
item.inventory_item.texture_normal
|
item.inventory_item.texture_normal
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
func right_click_on_inventory_item(inventory_item_global_id: String, event: InputEvent) -> void:
|
func right_click_on_inventory_item(inventory_item_global_id: String, event: InputEvent) -> void:
|
||||||
mousewheel_action(1)
|
mousewheel_action(1)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user