Skip to content
This repository was archived by the owner on Apr 29, 2021. It is now read-only.

Commit 2ac2cac

Browse files
committed
add readonly
1 parent a23e56c commit 2ac2cac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Runtime/gestures/mouse_tracking.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public MouseTracker(
5656
this.annotationFinder = annotationFinder;
5757
}
5858

59-
Dictionary<int, PointerEvent> _lastMouseEvent = new Dictionary<int, PointerEvent>();
59+
readonly Dictionary<int, PointerEvent> _lastMouseEvent = new Dictionary<int, PointerEvent>();
6060

6161
public bool mouseIsConnected {
6262
get { return this._lastMouseEvent.isNotEmpty(); }

0 commit comments

Comments
 (0)