Improve style in many demos (#1263)

This commit is contained in:
Aaron Franke
2025-10-11 05:03:59 -07:00
committed by GitHub
parent 0ae09b7e5a
commit 520b4a7870
197 changed files with 904 additions and 766 deletions

View File

@@ -1,5 +1,6 @@
extends Node
func _ready() -> void:
if OS.has_feature("web"):
for button: Button in [

View File

@@ -1,11 +1,13 @@
extends Node
@onready var rtl: RichTextLabel = $HBoxContainer/Features
@onready var csharp_test: Node = $CSharpTest
# Line number for alternate line coloring. Incremented by 1 each time a line is added
# (ignoring headers).
var line_count := 0
var line_count: int = 0
# Returns a human-readable string from a date and time, date, or time dictionary.
func datetime_to_string(date: Dictionary) -> void:
@@ -48,7 +50,7 @@ func scan_midi_inputs() -> String:
return ""
OS.open_midi_inputs()
var devices := ", ".join(OS.get_connected_midi_inputs())
var devices: String = ", ".join(OS.get_connected_midi_inputs())
OS.close_midi_inputs()
return devices