Skip to content

Commit e80b904

Browse files
authored
Update cursorscene.ts
made so it will not override navigator if provided in the constructor for cursorScene
1 parent 6f2d725 commit e80b904

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)