Skip to content

Commit 949c832

Browse files
authored
Merge pull request #1 from bragrseg/cursorScene-bug
fixed a bug caused by missing null check in startup() of cursorscene
2 parents 6f2d725 + e80b904 commit 949c832

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cursorscene.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,8 @@ namespace user_interface_base {
9393

9494
this.cursor = new Cursor()
9595
this.picker = new Picker(this.cursor)
96-
this.navigator = new RowNavigator()
96+
if (this.navigator == null)
97+
this.navigator = new RowNavigator()
9798
this.cursor.navigator = this.navigator
9899
}
99100

0 commit comments

Comments
 (0)