diff options
| author | bobzel <zzzman@gmail.com> | 2022-06-20 13:40:07 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2022-06-20 13:40:07 -0400 |
| commit | b292a055401af6236e0537cfad603016d77a535a (patch) | |
| tree | 72eead2270a1cef48915beefcdee4bf48bc7e4ba /src/client/apis | |
| parent | c0826fb904f5d2448635b5dae1fc4337fead939e (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/apis')
| -rw-r--r-- | src/client/apis/youtube/YoutubeBox.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/apis/youtube/YoutubeBox.tsx b/src/client/apis/youtube/YoutubeBox.tsx index c5ff2db68..e14dc60b4 100644 --- a/src/client/apis/youtube/YoutubeBox.tsx +++ b/src/client/apis/youtube/YoutubeBox.tsx @@ -351,7 +351,7 @@ export class YoutubeBox extends React.Component<FieldViewProps> { const frozen = !this.props.isSelected() || DocumentDecorations.Instance.Interacting; - const classname = "webBox-cont" + (this.props.isSelected() && CurrentUserUtils.SelectedTool === InkTool.None && !DocumentDecorations.Instance.Interacting ? "-interactive" : ""); + const classname = "webBox-cont" + (this.props.isSelected() && CurrentUserUtils.ActiveTool === InkTool.None && !DocumentDecorations.Instance.Interacting ? "-interactive" : ""); return ( <> <div className={classname} > |
