Add remember_position field to the Preferences and VideoPreferences structs, and add a checkbox in the preferences page to toggle it

This commit is contained in:
bbielsa authored and Emilien Devos committed 2021-12-15 19:37:55 +01:00
1 parent 7f3ef12297
commit a6a0bbf398
5 files changed
+18

No files matched your search

+1
View File
@@ -53,6 +53,7 @@ struct Preferences
property video_loop : Bool = CONFIG.default_user_preferences.video_loop
property extend_desc : Bool = CONFIG.default_user_preferences.extend_desc
property volume : Int32 = CONFIG.default_user_preferences.volume
property remember_position : Bool = CONFIG.default_user_preferences.remember_position
module BoolToString
def self.to_json(value : String, json : JSON::Builder)