diff options
| author | Gabriel Schneider <[email protected]> | 2026-09-15 17:24:57 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-09-15 17:26:23 -0300 |
| commit | ebe561b8083782a105a2ee29fb0a031d1c2427d3 (patch) | |
| tree | 73d8fae6c7345449b6235b54a44eba87655823d9 /test/web-snapshots/touch.mjs | |
| parent | 6560da36cf8111575cd3fec443a42de6eff82f5f (diff) | |
| download | pardes-ebe561b8083782a105a2ee29fb0a031d1c2427d3.tar.gz pardes-ebe561b8083782a105a2ee29fb0a031d1c2427d3.zip | |
Keep column grips blank and muted in every focus state
Diffstat (limited to 'test/web-snapshots/touch.mjs')
| -rw-r--r-- | test/web-snapshots/touch.mjs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/web-snapshots/touch.mjs b/test/web-snapshots/touch.mjs index 3820117e..b78cbdc0 100644 --- a/test/web-snapshots/touch.mjs +++ b/test/web-snapshots/touch.mjs @@ -100,7 +100,7 @@ export default async function ({ grid, touch, wait, stable, delay, evaluate, mou renderer.render(); const columnGrip=renderer.tagRoot.querySelector('[data-tag-grip]'); const marks=node=>[...node.children].map(mark=>[parseFloat(mark.style.left),parseFloat(mark.style.top),parseFloat(mark.style.width)]); - result.columnMarks=marks(columnGrip); + result.columnMarks=columnGrip ? marks(columnGrip) : []; tagValues[1]=2;tagValues[5]=1;bytes[40]=32;data.setUint32(48,0x778899,true); renderer.render(); result.paneMarks=marks(renderer.tagRoot.querySelector('[data-tag-grip]')); @@ -119,8 +119,8 @@ export default async function ({ grid, touch, wait, stable, delay, evaluate, mou gripVisible:"",covered:"hidden",background:"rgb(51, 68, 85)",cached:true,bgInvalidates:true}, "tag text uses its own columns after a fixed body-width grip, with cursor and cached base background"); - assert.deepEqual(compactGeometry.columnMarks,[[7,13,6],[7,16,6]]); - assert.deepEqual(compactGeometry.paneMarks,[[7,33,6],[7,36,6]],"pane and column handles share physical horizontal mark geometry"); + assert.deepEqual(compactGeometry.columnMarks,[],"column handles have no mark"); + assert.deepEqual(compactGeometry.paneMarks,[[7,33,6],[7,36,6]],"pane handles keep their physical mark geometry"); let frame = await grid(); assert.equal(tags(frame).length, 1); |
