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 /src/web | |
| parent | 6560da36cf8111575cd3fec443a42de6eff82f5f (diff) | |
| download | pardes-ebe561b8083782a105a2ee29fb0a031d1c2427d3.tar.gz pardes-ebe561b8083782a105a2ee29fb0a031d1c2427d3.zip | |
Keep column grips blank and muted in every focus state
Diffstat (limited to 'src/web')
| -rw-r--r-- | src/web/app.mjs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/app.mjs b/src/web/app.mjs index 3dcf6ab5..65e1240d 100644 --- a/src/web/app.mjs +++ b/src/web/app.mjs @@ -123,7 +123,7 @@ export class DomRenderer { const gripCols = this.wasm.pardes_grip_columns?.() ?? 2; const gripX = values[4] - gripCols; const gripCell = canonical[values[5]*this.cols+gripX]; - const grip = values[1] !== 0 && gripX >= 0 && gripCell?.text === " " && th >= 6 && tw >= 3; + const grip = values[1] === 2 && gripX >= 0 && gripCell?.text === " " && th >= 6 && tw >= 3; const geometry = [bw,bh,tw,th,offset,...values,grip,gripCell?.fg].join(":"); const cached = this.tagNodes.get(i); if (cached && cached.geometry === geometry && cached.bytes.length === bytes.length && cached.bytes.every((byte,index)=>byte===bytes[index])) { |
