From 5b8655250e45dcae160468f806172025f074bf4c Mon Sep 17 00:00:00 2001 From: thecalcc Date: Tue, 24 Oct 2023 10:04:21 +0300 Subject: [PATCH] Bind function --- scripts/core/editor3/components/Editor3Component.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/core/editor3/components/Editor3Component.tsx b/scripts/core/editor3/components/Editor3Component.tsx index a367d33c89..d32d4c5a29 100644 --- a/scripts/core/editor3/components/Editor3Component.tsx +++ b/scripts/core/editor3/components/Editor3Component.tsx @@ -193,6 +193,7 @@ export class Editor3Component extends React.Component { this.onDragOver = this.onDragOver.bind(this); this.handleKeyCommand = this.handleKeyCommand.bind(this); this.handleBeforeInput = this.handleBeforeInput.bind(this); + this.isMacOS = this.isMacOS.bind(this); this.keyBindingFn = this.keyBindingFn.bind(this); this.handleDropOnEditor = this.handleDropOnEditor.bind(this); this.spellcheck = this.spellcheck.bind(this);