diff options
Diffstat (limited to 'src/web/app.mjs')
| -rw-r--r-- | src/web/app.mjs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/web/app.mjs b/src/web/app.mjs index be61de89..37d07eb7 100644 --- a/src/web/app.mjs +++ b/src/web/app.mjs @@ -41,6 +41,7 @@ export class DomRenderer { render() { const count = this.wasm.pardes_frame(); + this.root.style.cursor = this.wasm.pardes_pointer_shape() === 1 ? "pointer" : "text"; const cols = this.wasm.pardes_frame_cols(); const rows = this.wasm.pardes_frame_rows(); if (count !== cols * rows) throw new Error(`bad frame: ${count} cells for ${cols}x${rows}`); |
