fix content notes always showing and settings_changed signal not being emitted
This commit is contained in:
parent
37b06927dd
commit
838a0c491d
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -159,6 +159,9 @@ func load_user_settings():
|
|||
OS.execute("defaults", ["read", "/Users/$loggedInUser/Library/Preferences/com.apple.universalaccess.plist", "reduceMotion"], out)
|
||||
if out[0] == "reduce":
|
||||
reduce_motion = true
|
||||
|
||||
settings_initialised = true
|
||||
settings_changed.emit()
|
||||
|
||||
func save_settings():
|
||||
var out_dict = {
|
||||
|
|
|
|||
Loading…
Reference in New Issue