Skip to content

Commit 80ff120

Browse files
committed
cursor.ts changes for MicroData debugging
1 parent 626af5c commit 80ff120

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

cursor.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ namespace user_interface_base {
2323
}
2424

2525
export interface CursorState {
26-
navigator: INavigator
26+
navigator: INavigator
2727
pos: Vec2
2828
ariaId: string
2929
size: Bounds
@@ -48,7 +48,7 @@ namespace user_interface_base {
4848
this.cancelHandlerStack = []
4949
this.moveDest = new Vec2()
5050
this.setSize()
51-
51+
5252
this.cursorOutlineColour = DEFAULT_CURSOR_OUTLINE_COLOUR
5353
}
5454

@@ -70,7 +70,7 @@ namespace user_interface_base {
7070
public snapTo(x: number, y: number, ariaId: string, sizeHint: Bounds) {
7171
this.setSize(
7272
sizeHint ||
73-
new Bounds({ left: 0, top: 0, width: 16, height: 16 })
73+
new Bounds({ left: 0, top: 0, width: 16, height: 16 })
7474
)
7575
this.moveDest.x = this.xfrm.localPos.x = x
7676
this.moveDest.y = this.xfrm.localPos.y = y
@@ -158,7 +158,7 @@ namespace user_interface_base {
158158
pos.y + (this.size.width >> 1) + (font.charHeight >> 1) + 1,
159159
Screen.BOTTOM_EDGE - 1 - font.charHeight
160160
)
161-
Screen.fillRect(x - 1, y - 1, w + 1, h + 2, 15)
161+
// Screen.fillRect(x - 1, y - 1, w + 1, h + 2, 15)
162162
Screen.print(text, x, y, 1, font)
163163
}
164164
}

0 commit comments

Comments
 (0)