From 79e1ab5e610464d8cd608e80e4824689c9f2017c Mon Sep 17 00:00:00 2001 From: Manolis Papadeas <35376950+OverloadedOrama@users.noreply.github.com> Date: Fri, 27 Aug 2021 00:49:01 +0300 Subject: [PATCH] Remove unneeded Global.update_hint_tooltips() call --- src/UI/Canvas/CameraMovement.gd | 2 +- src/UI/ToolButtons.gd | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/UI/Canvas/CameraMovement.gd b/src/UI/Canvas/CameraMovement.gd index 6c40554fe..00dc0856b 100644 --- a/src/UI/Canvas/CameraMovement.gd +++ b/src/UI/Canvas/CameraMovement.gd @@ -17,7 +17,7 @@ func _ready() -> void: add_child(tween) tween.connect("tween_step", self, "_on_tween_step") update_transparent_checker_offset() - + # signals regarding zoom stats Global.zoom_level_label.connect("gui_input",self,"zoom_label_clicked") Global.zoom_level_spinbox.connect("value_changed", self, "zoom_value_changed") diff --git a/src/UI/ToolButtons.gd b/src/UI/ToolButtons.gd index 5da55fd01..e82047379 100644 --- a/src/UI/ToolButtons.gd +++ b/src/UI/ToolButtons.gd @@ -26,7 +26,6 @@ onready var tools := [ func _ready() -> void: for t in tools: t[0].connect("pressed", self, "_on_Tool_pressed", [t[0]]) - Global.update_hint_tooltips() # Resize tools panel when window gets resized get_tree().get_root().connect("size_changed", self, "_on_ToolsAndCanvas_dragged")