fix(applauncher): throttle inactivity timer resets in menus, optimize sound slider updates, and adjust keyboard layout/keys

This commit is contained in:
2026-01-06 09:58:40 +00:00
parent dcc3e18474
commit 79f41a6001
6 changed files with 64 additions and 9 deletions

View File

@@ -78,8 +78,10 @@ const qwertyLayout: IKeyConfig[][] = [
[
{ key: '123', display: '123', width: 1.5, type: 'layout', action: 'numbers' },
{ key: 'globe', display: '🌐', type: 'special' },
{ key: 'space', display: '', width: 4, type: 'space' },
{ key: 'space', display: '', width: 3, type: 'space' },
{ key: 'left', display: '←', type: 'special', action: 'arrow-left' },
{ key: 'up', display: '↑', type: 'special', action: 'arrow-up' },
{ key: 'down', display: '↓', type: 'special', action: 'arrow-down' },
{ key: 'right', display: '→', type: 'special', action: 'arrow-right' },
{ key: 'enter', display: '↵', width: 1.5, type: 'special' },
],
@@ -102,8 +104,10 @@ const numbersLayout: IKeyConfig[][] = [
[
{ key: 'ABC', display: 'ABC', width: 1.5, type: 'layout', action: 'qwerty' },
{ key: 'globe', display: '🌐', type: 'special' },
{ key: 'space', display: '', width: 4, type: 'space' },
{ key: 'space', display: '', width: 3, type: 'space' },
{ key: 'left', display: '←', type: 'special', action: 'arrow-left' },
{ key: 'up', display: '↑', type: 'special', action: 'arrow-up' },
{ key: 'down', display: '↓', type: 'special', action: 'arrow-down' },
{ key: 'right', display: '→', type: 'special', action: 'arrow-right' },
{ key: 'enter', display: '↵', width: 1.5, type: 'special' },
],
@@ -126,8 +130,10 @@ const symbolsLayout: IKeyConfig[][] = [
[
{ key: 'ABC', display: 'ABC', width: 1.5, type: 'layout', action: 'qwerty' },
{ key: 'globe', display: '🌐', type: 'special' },
{ key: 'space', display: '', width: 4, type: 'space' },
{ key: 'space', display: '', width: 3, type: 'space' },
{ key: 'left', display: '←', type: 'special', action: 'arrow-left' },
{ key: 'up', display: '↑', type: 'special', action: 'arrow-up' },
{ key: 'down', display: '↓', type: 'special', action: 'arrow-down' },
{ key: 'right', display: '→', type: 'special', action: 'arrow-right' },
{ key: 'enter', display: '↵', width: 1.5, type: 'special' },
],
@@ -245,6 +251,11 @@ export class EcoApplauncherKeyboard extends DeesElement {
max-width: 100px;
}
.key.wide-3 {
flex: 3;
max-width: 140px;
}
.key.wide-4 {
flex: 4;
max-width: 180px;