add new options to settings interface
This commit is contained in:
parent
4853d7e2fd
commit
2337f7a3ba
@ -214,6 +214,8 @@ interface SettingsInterface {
|
||||
ui: {
|
||||
inPlayer: {
|
||||
enabled: boolean,
|
||||
enabledFullscreenOnly: boolean,
|
||||
popupAlignment: 'left' | 'right',
|
||||
minEnabledWidth: number, // don't show UI if player is narrower than % of screen width
|
||||
activation: 'trigger-zone' | 'player', // what needs to be hovered in order for UI to be visible
|
||||
triggerZoneDimensions: { // how large the trigger zone is (relative to player size)
|
||||
|
@ -169,8 +169,10 @@ const ExtensionConfPatch = [
|
||||
userOptions.ui = {
|
||||
inPlayer: {
|
||||
enabled: true, // enable by default on new installs
|
||||
enabledFullscreenOnly: false,
|
||||
minEnabledWidth: 0.75,
|
||||
activation: 'player',
|
||||
popupAlignment: 'left',
|
||||
triggerZoneDimensions: {
|
||||
width: 0.5,
|
||||
height: 0.5,
|
||||
|
@ -160,8 +160,10 @@ const ExtensionConf: SettingsInterface = {
|
||||
ui: {
|
||||
inPlayer: {
|
||||
enabled: true, // enable by default on new installs
|
||||
enabledFullscreenOnly: false,
|
||||
minEnabledWidth: 0.75,
|
||||
activation: 'player',
|
||||
popupAlignment: 'left',
|
||||
triggerZoneDimensions: {
|
||||
width: 0.5,
|
||||
height: 0.5,
|
||||
|
Loading…
Reference in New Issue
Block a user