diff --git a/src/common/interfaces/SettingsInterface.ts b/src/common/interfaces/SettingsInterface.ts index 8b1762b..8c1d1ce 100644 --- a/src/common/interfaces/SettingsInterface.ts +++ b/src/common/interfaces/SettingsInterface.ts @@ -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) diff --git a/src/ext/conf/ExtConfPatches.ts b/src/ext/conf/ExtConfPatches.ts index 964c43a..671b1d8 100644 --- a/src/ext/conf/ExtConfPatches.ts +++ b/src/ext/conf/ExtConfPatches.ts @@ -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, diff --git a/src/ext/conf/ExtensionConf.ts b/src/ext/conf/ExtensionConf.ts index 545e85d..9db7a4a 100644 --- a/src/ext/conf/ExtensionConf.ts +++ b/src/ext/conf/ExtensionConf.ts @@ -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,