summaryrefslogtreecommitdiff
path: root/test/web-snapshots
diff options
context:
space:
mode:
Diffstat (limited to 'test/web-snapshots')
-rw-r--r--test/web-snapshots/touch.mjs5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/web-snapshots/touch.mjs b/test/web-snapshots/touch.mjs
index b78cbdc0..1351712e 100644
--- a/test/web-snapshots/touch.mjs
+++ b/test/web-snapshots/touch.mjs
@@ -2,7 +2,7 @@ import assert from "node:assert/strict";
function tags(frame) {
// This fixture has workspace and column bars in its first two rows.
- return frame.styleRows.flatMap((cells, y) => y > 1 && /^\s{2}\S/.test(frame.lines[y]) && cells.some((cell) => cell[2] & 128) ? [y] : []);
+ return frame.styleRows.flatMap((cells, y) => y > 1 && /^\s{3}\S/.test(frame.lines[y]) && cells.some((cell) => cell[2] & 128) ? [y] : []);
}
function pane(frame, name) {
@@ -95,7 +95,8 @@ export default async function ({ grid, touch, wait, stable, delay, evaluate, mou
tagValues[10]=0x556677;
renderer.render();
result.tag.bgInvalidates=renderer.tagRoot.firstChild!==tag;
- tagValues[1]=1;tagValues[4]=2;tagValues[5]=0;
+ wasm.pardes_tag_text_inset=()=>3;
+ tagValues[1]=1;tagValues[4]=3;tagValues[5]=0;
bytes[0]=32;data.setUint32(8,0x778899,true);
renderer.render();
const columnGrip=renderer.tagRoot.querySelector('[data-tag-grip]');