diff options
author | Bob Zeleznik <zzzman@gmail.com> | 2019-10-16 23:50:27 -0400 |
---|---|---|
committer | Bob Zeleznik <zzzman@gmail.com> | 2019-10-16 23:50:27 -0400 |
commit | caebaeca6993ff48609ab16dcc390d4d0458b03a (patch) | |
tree | 1f35d8f38e1f56c046b4b5585bd22b6f70bcd500 /src/client/views/InkingControl.tsx | |
parent | 7763a08eb5ed931dbf854e2b72d07b7613791e2b (diff) |
fixed applying templates to collections. fixed templates containing collections
Diffstat (limited to 'src/client/views/InkingControl.tsx')
-rw-r--r-- | src/client/views/InkingControl.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/InkingControl.tsx b/src/client/views/InkingControl.tsx index bc5249acd..b8f3c2875 100644 --- a/src/client/views/InkingControl.tsx +++ b/src/client/views/InkingControl.tsx @@ -94,7 +94,7 @@ export class InkingControl { redo: () => oldColors.forEach(pair => pair.target.backgroundColor = captured) }); } else { - CurrentUserUtils.UserDocument.activePen instanceof Doc && CurrentUserUtils.UserDocument.activePen.pen instanceof Doc && (CurrentUserUtils.UserDocument.activePen.pen.backgroundColor = this._selectedColor); + CurrentUserUtils.ActivePen && (CurrentUserUtils.ActivePen.backgroundColor = this._selectedColor); } }); @action |