Browse Source

:truck: Fix private method ordering

To group signal receivers together.
DricomDragon 2 years ago
parent
commit
33178e2fdd
1 changed files with 4 additions and 4 deletions
  1. 4 4
      godot/projector/focus/Focus.gd

+ 4 - 4
godot/projector/focus/Focus.gd

@@ -69,14 +69,14 @@ func _abort_ongoing_transit() -> void:
 		tween.kill()
 
 
-func _on_show_new_focus(pos: Vector2, scalar_scale: float) -> void:
-	focus_on(pos, scalar_scale)
-
-
 func _invert_vector(vec: Vector2) -> Vector2:
 	return Vector2(1.0 / vec.x, 1.0 / vec.y)
 
 
+func _on_show_new_focus(pos: Vector2, scalar_scale: float) -> void:
+	focus_on(pos, scalar_scale)
+
+
 func _on_show_fast_move() -> void:
 	beam_to_focus()