2022-08-13 19:33:12 -07:00

15 lines
409 B
GDScript

tool
extends VBoxContainer
func _ready():
var HistoryCheckbox = $"GridContainer/HistoryBox/SettingsCheckbox/CheckBox"
HistoryCheckbox.connect('toggled', self, '_on_HistoryLogging_toggled')
_on_HistoryLogging_toggled(HistoryCheckbox.pressed)
func _on_HistoryLogging_toggled(button_pressed):
for n in $GridContainer.get_children():
n.visible = button_pressed
$GridContainer/HistoryBox.visible = true