Skip to content

Commit 6f7c594

Browse files
Scene editor: captures some keys in browser and sends them to IDE.
1 parent 0ed45dd commit 6f7c594

File tree

8 files changed

+855
-143
lines changed

8 files changed

+855
-143
lines changed

source/v2/phasereditor/phasereditor.scene.ui.editor.html/html/Editor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ namespace PhaserEditor2D {
136136
}
137137

138138
sendKeyDown(e: KeyboardEvent) {
139-
if (this._sendKeyData) {
139+
if (this._sendKeyData || true) {
140140
const data = {
141141
keyCode: e.keyCode,
142142
ctrlKey: e.ctrlKey,

0 commit comments

Comments
 (0)