Skip to content

Build your own AI office with Univer Office SDK. Bring editing, calculation, collaboration, and file processing into your product for people and AI agents. Built on an extensible open-source core.

fix(engine-render): add missing overide (#1296)

白熱d8bc41a222f1
diff --git a/packages/engine-render/src/engine.ts b/packages/engine-render/src/engine.ts
index 8a2ea6188b..fb3fa0eac8 100644
--- a/packages/engine-render/src/engine.ts
+++ b/packages/engine-render/src/engine.ts
@@ -136,7 +136,7 @@ export class Engine extends ThinEngine<Scene> {
* To ensure mouse events remain bound to the host element,
* preventing the events from becoming ineffective once the mouse leaves the host.
*/
- setRemainCapture() {
+ override setRemainCapture() {
this._canvasEle.setPointerCapture(this._remainCapture);
}