aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/InkStrokeProperties.ts
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2022-06-20 13:40:07 -0400
committerbobzel <zzzman@gmail.com>2022-06-20 13:40:07 -0400
commitb292a055401af6236e0537cfad603016d77a535a (patch)
tree72eead2270a1cef48915beefcdee4bf48bc7e4ba /src/client/views/InkStrokeProperties.ts
parentc0826fb904f5d2448635b5dae1fc4337fead939e (diff)
a bunch of changes to make some userDoc() field accesses more typesafe by going through CurrentUserUtils. Some normalization of naming/functionality in CurrentUserUtils
Diffstat (limited to 'src/client/views/InkStrokeProperties.ts')
-rw-r--r--src/client/views/InkStrokeProperties.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/InkStrokeProperties.ts b/src/client/views/InkStrokeProperties.ts
index 0449da483..471ad09e9 100644
--- a/src/client/views/InkStrokeProperties.ts
+++ b/src/client/views/InkStrokeProperties.ts
@@ -25,8 +25,8 @@ export class InkStrokeProperties {
constructor() {
InkStrokeProperties._Instance = this;
- reaction(() => this._controlButton, button => button && (CurrentUserUtils.SelectedTool = InkTool.None));
- reaction(() => CurrentUserUtils.SelectedTool, tool => (tool !== InkTool.None) && (this._controlButton = false));
+ reaction(() => this._controlButton, button => button && (CurrentUserUtils.ActiveTool = InkTool.None));
+ reaction(() => CurrentUserUtils.ActiveTool, tool => (tool !== InkTool.None) && (this._controlButton = false));
}
/**