lint fixes
Some checks failed
Continuous Integration / Code Formatting (pull_request) Successful in 27s
Continuous Integration / Code Quality Check (pull_request) Successful in 29s
Continuous Integration / Test Execution (pull_request) Failing after 33s
Continuous Integration / CI Summary (pull_request) Failing after 5s
Some checks failed
Continuous Integration / Code Formatting (pull_request) Successful in 27s
Continuous Integration / Code Quality Check (pull_request) Successful in 29s
Continuous Integration / Test Execution (pull_request) Failing after 33s
Continuous Integration / CI Summary (pull_request) Failing after 5s
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
@tool
|
||||
extends Control
|
||||
class_name ValueStepper
|
||||
extends Control
|
||||
|
||||
## A reusable UI control for stepping through discrete values with arrow buttons
|
||||
##
|
||||
@@ -12,10 +11,6 @@ class_name ValueStepper
|
||||
|
||||
signal value_changed(new_value: String, new_index: int)
|
||||
|
||||
@onready var left_button: Button = $LeftButton
|
||||
@onready var right_button: Button = $RightButton
|
||||
@onready var value_display: Label = $ValueDisplay
|
||||
|
||||
## The data source for values.
|
||||
@export var data_source: String = "language"
|
||||
## Custom display format function. Leave empty to use default.
|
||||
@@ -29,6 +24,10 @@ var original_scale: Vector2
|
||||
var original_modulate: Color
|
||||
var is_highlighted: bool = false
|
||||
|
||||
@onready var left_button: Button = $LeftButton
|
||||
@onready var right_button: Button = $RightButton
|
||||
@onready var value_display: Label = $ValueDisplay
|
||||
|
||||
|
||||
func _ready() -> void:
|
||||
DebugManager.log_info("ValueStepper ready for: " + data_source, "ValueStepper")
|
||||
|
||||
Reference in New Issue
Block a user