forked from Blendman974/faceclaw
[verified] merge upstream c162c8e6 into all-features
This commit is contained in:
commit
5790e98d27
176 files changed
+5311
-2307
No files matched your search
@@ -200,7 +200,7 @@ test('SettingsPanel labels animate only in the focused column', async () => {
|
||||
});
|
||||
const layer = new SettingsPanelLayer([{ label: 'very long section label beyond column width',
|
||||
items: [{ label: 'very long option label beyond the right column width', onSelect() {} }] }]);
|
||||
const ctx = { stack: { getBaseSize: () => ({ width: 360, height: 100 }), isFocused: () => true } };
|
||||
const ctx = { stack: { getBaseSize: () => require('./helpers/viewport.cjs').bordered(360, 100), isFocused: () => true } };
|
||||
const left = lists(layer.paint(ctx));
|
||||
assert.equal(left.length, 1);
|
||||
assert.ok(left[0].x < 150);
|
||||
|
||||
Reference in new issue
Block a user