From fe336122e09ef06716b86d95639ce79ac312b506 Mon Sep 17 00:00:00 2001 From: Tamius Han Date: Fri, 27 Dec 2024 13:18:31 +0100 Subject: [PATCH] Make crop iptions and stretch options panels editable by default without breaking the popup. Add them to UI and keyboard section of settings --- src/csui/src/PlayerUIWindow.vue | 2 +- .../VideoSettings/CropOptionsPanel.vue | 22 ++++++++----- .../VideoSettings/StretchOptionsPanel.vue | 15 +++++++-- .../src/PlayerUiPanels/PlayerUiSettings.vue | 31 +++++++++++++++---- 4 files changed, 54 insertions(+), 16 deletions(-) diff --git a/src/csui/src/PlayerUIWindow.vue b/src/csui/src/PlayerUIWindow.vue index fa17da7..76a3b2c 100644 --- a/src/csui/src/PlayerUIWindow.vue +++ b/src/csui/src/PlayerUIWindow.vue @@ -164,7 +164,7 @@ export default { tabs: [ // {id: 'videoSettings', label: 'Video settings', icon: 'crop'}, {id: 'extensionSettings', label: 'Site and Extension options', icon: 'cogs' }, - {id: 'playerUiSettings', label: 'In-player interface', icon: 'movie-cog-outline' }, + {id: 'playerUiSettings', label: 'UI and keyboard', icon: 'movie-cog-outline' }, {id: 'playerDetection', label: 'Player detection', icon: 'television-play'}, {id: 'autodetectionSettings', label: 'Autodetection options', icon: 'auto-fix'}, // {id: 'advancedOptions', label: 'Advanced options', icon: 'cogs' }, diff --git a/src/csui/src/PlayerUiPanels/PanelComponents/VideoSettings/CropOptionsPanel.vue b/src/csui/src/PlayerUiPanels/PanelComponents/VideoSettings/CropOptionsPanel.vue index 5b20083..454a941 100644 --- a/src/csui/src/PlayerUiPanels/PanelComponents/VideoSettings/CropOptionsPanel.vue +++ b/src/csui/src/PlayerUiPanels/PanelComponents/VideoSettings/CropOptionsPanel.vue @@ -1,9 +1,6 @@