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
2021-10-25 19:50:17 -04:00
committed by Emilien Devos
parent 7f3ef12297
commit a6a0bbf398
5 changed files with 18 additions and 0 deletions

View File

@@ -116,6 +116,11 @@
<input name="vr_mode" id="vr_mode" type="checkbox" <% if preferences.vr_mode %>checked<% end %>>
</div>
<div class="pure-control-group">
<label for="remember_position">Remember the current video time:</label>
<input name="remember_position" id="remember_position" type="checkbox" <% if preferences.remember_position %>checked<% end %>>
</div>
<legend><%= translate(locale, "preferences_category_visual") %></legend>
<div class="pure-control-group">