Skip to content

Commit

Permalink
Clarify privacy of exported variable
Browse files Browse the repository at this point in the history
Exported variables should not be private, of course. That's a contradiction.
  • Loading branch information
doctor-g committed Feb 8, 2024
1 parent 9cd0bcf commit aa1745a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions project/ui/start_scene.gd
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
extends Control


@export var _scroll_speed: float = 300.0
@export var scroll_speed: float = 300.0

var _index = 0

Expand All @@ -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()
Expand Down

0 comments on commit aa1745a

Please sign in to comment.