diff --git a/src/UI/Canvas/Rulers/HorizontalRuler.gd b/src/UI/Canvas/Rulers/HorizontalRuler.gd index aa499f45f..ec66e964f 100644 --- a/src/UI/Canvas/Rulers/HorizontalRuler.gd +++ b/src/UI/Canvas/Rulers/HorizontalRuler.gd @@ -11,7 +11,6 @@ var last: Vector2 func _ready() -> void: Global.project_changed.connect(queue_redraw) - Global.main_viewport.item_rect_changed.connect(queue_redraw) func _gui_input(event: InputEvent) -> void: diff --git a/src/UI/Canvas/Rulers/VerticalRuler.gd b/src/UI/Canvas/Rulers/VerticalRuler.gd index 89b851e5b..6bc9bc7f9 100644 --- a/src/UI/Canvas/Rulers/VerticalRuler.gd +++ b/src/UI/Canvas/Rulers/VerticalRuler.gd @@ -11,7 +11,6 @@ var last: Vector2 func _ready() -> void: Global.project_changed.connect(queue_redraw) - Global.main_viewport.item_rect_changed.connect(queue_redraw) func _gui_input(event: InputEvent) -> void: