Merge configurable menu gestures

# Conflicts:
#	app/ui/shell/shell.ts
#	tests/ai-chat.test.cjs
#	tests/brightness-picker.test.cjs
This commit is contained in:
Blendman974 committed 2026-11-06 04:46:29 +01:00
commit 5ae06c1818
11 files changed
+168 -13

No files matched your search

+1
View File
@@ -42,6 +42,7 @@ function fixture(initial = '50', viewport = { x: 64, y: 124, width: 576, height:
appFullscreenSetting: () => ({ get: () => false }),
appKeepAwakeSetting: () => ({ label: 'Keep screen awake', get: () => false }),
toggleSettingMenuItem: setting => ({ label: setting.label }),
swapMenuGesturesSetting: { get: () => false },
brightnessSetting: { get: () => value, set: (next) => { value = next; writes++; } },
brightnessSettingToLevel: (value) => value === 'auto' ? null : Number(value),
};