fix(_desktop): allow shrinking the Desktop canvas surface

The live desktop renders in an iframe (.office-desktop-frame). Canvas resize is driven by a global pointermove from the left-edge handle; shrinking sweeps the cursor across the iframe, which captures the event and freezes the drag. Disable hit-testing on the frame while right-canvas-resizing is set on <body>.

King0James0 committed Jun 4, 2026 at 13:55 UTC 4e4add524f7d70fa479a7a473d35b2e5959fe953
1 file changed +6
plugins/_desktop/webui/desktop-panel.html
+6
@@ -723,6 +723,12 @@
723 }
724
725 }
726 +
727 + /* While the canvas is being resized, the left-edge drag sweeps the cursor across this
728 + iframe, which captures the pointermove and freezes shrinking (widening drags away, so
729 + it works). Disable hit-testing on the frame during the drag — right-canvas-store.js
730 + toggles `right-canvas-resizing` on <body> for the duration of the drag. */
731 + body.right-canvas-resizing .office-desktop-frame { pointer-events: none; }
732 </style>
733 </body>
734 </html>