tabbys awesome cooking continues
This commit is contained in:
parent
337c4fbb71
commit
dcf3be434b
5 changed files with 135 additions and 88 deletions
|
|
@ -22,6 +22,8 @@ signal options_changed
|
|||
@export var after_m: SpinBox
|
||||
@export var style_dropdown: OptionButton
|
||||
@export var position_dropdown: OptionButton
|
||||
@export var safe_top: SpinBox
|
||||
@export var safe_bottom: SpinBox
|
||||
|
||||
|
||||
func _init() -> void:
|
||||
|
|
@ -89,6 +91,8 @@ func _on_visibility_changed() -> void:
|
|||
flash_check.button_pressed = Data.save.flashing
|
||||
position_dropdown.select(Data.save.position)
|
||||
style_dropdown.select(Data.save.progress_style)
|
||||
safe_bottom.value = Data.save.safe_bottom
|
||||
safe_top.value = Data.save.safe_top
|
||||
pass # Replace with function body.
|
||||
|
||||
|
||||
|
|
@ -159,3 +163,13 @@ func _on_style_dropdown_item_selected(index: int) -> void:
|
|||
elif index == 3:
|
||||
Data.save.progress_style = Data.Styles.Emptying_Reversed
|
||||
options_changed.emit()
|
||||
|
||||
|
||||
func _on_safe_top_value_changed(value: float) -> void:
|
||||
Data.save.safe_top = int(value)
|
||||
options_changed.emit()
|
||||
|
||||
|
||||
func _on_safe_bottom_value_changed(value: float) -> void:
|
||||
Data.save.safe_bottom = int(value)
|
||||
options_changed.emit()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue