forked from Blendman974/faceclaw
feat: allow swapping app and system menu hold gestures
This commit is contained in:
9 files changed
+162
-12
No files matched your search
@@ -59,3 +59,14 @@ test('curve drafts preview exactly while brightness keeps the previous valid sav
|
||||
assert.equal(curve.validationError(), null);
|
||||
assert.equal(api.getBrightnessPreferences().curve, '0:0,2:50,6:100');
|
||||
});
|
||||
|
||||
test('menu gesture preference preserves defaults and survives restart in either state', () => {
|
||||
const store = new Map();
|
||||
let api = settingsFixture(store);
|
||||
assert.equal(api.swapMenuGesturesSetting.get(), false);
|
||||
api.swapMenuGesturesSetting.set(true);
|
||||
api = settingsFixture(store);
|
||||
assert.equal(api.swapMenuGesturesSetting.get(), true);
|
||||
api.swapMenuGesturesSetting.set(false);
|
||||
assert.equal(settingsFixture(store).swapMenuGesturesSetting.get(), false);
|
||||
});
|
||||
Reference in new issue
Block a user