diff options
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])) { |
