From aa1745a445ca60c6517eb3d7212791322110f20b Mon Sep 17 00:00:00 2001 From: Paul Gestwicki Date: Thu, 8 Feb 2024 08:35:26 -0500 Subject: [PATCH] Clarify privacy of exported variable Exported variables should not be private, of course. That's a contradiction. --- project/ui/start_scene.gd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/project/ui/start_scene.gd b/project/ui/start_scene.gd index 96359c7..4b2b3c7 100644 --- a/project/ui/start_scene.gd +++ b/project/ui/start_scene.gd @@ -1,7 +1,7 @@ extends Control -@export var _scroll_speed: float = 300.0 +@export var scroll_speed: float = 300.0 var _index = 0 @@ -23,7 +23,7 @@ func _ready() -> void: func _process(delta) -> void: - _image_scroll_container.scroll_horizontal += delta * _scroll_speed + _image_scroll_container.scroll_horizontal += delta * scroll_speed if _image_scroll_container.scroll_horizontal >= 720: _swap_children_images()