fix content notes always showing and settings_changed signal not being emitted

This commit is contained in:
betalars 2025-05-17 01:52:47 +02:00
parent 37b06927dd
commit 838a0c491d
2 changed files with 4 additions and 2 deletions

View File

@ -143,8 +143,7 @@ func _on_context_updated():
%ReadStory.visible = is_collected
%OptionPrompt.visible = State.allow_skipping or State.provide_summaries or is_collected and not is_board
%OptionsLabel.visible = State.allow_skipping or State.provide_summaries or is_collected and not is_board
cn_label.self_modulate = Color(0,0,0,1) if State.show_content_notes else Color(0,0,0,1)
cn_label.visible = true if State.show_content_notes else false
func update_state():
scene = scene

View File

@ -160,6 +160,9 @@ func load_user_settings():
if out[0] == "reduce":
reduce_motion = true
settings_initialised = true
settings_changed.emit()
func save_settings():
var out_dict = {
"accessability": {