aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBob Zeleznik <zzzman@gmail.com>2020-02-24 15:19:50 -0500
committerBob Zeleznik <zzzman@gmail.com>2020-02-24 15:19:50 -0500
commit07216856dbea356fed37858c90249add1b42d661 (patch)
treedab2edf5c2bfa20691b28490e7475af87881bba4 /src
parent055f321b809d107e54de3b9a121853d20b314ad8 (diff)
fixed colorizing templated documents by setting _backgroundColor instead of backgroundColor
Diffstat (limited to 'src')
-rw-r--r--src/client/views/InkingControl.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/InkingControl.tsx b/src/client/views/InkingControl.tsx
index 812b57196..374c2df27 100644
--- a/src/client/views/InkingControl.tsx
+++ b/src/client/views/InkingControl.tsx
@@ -47,7 +47,7 @@ export class InkingControl {
if (StrCast(Doc.Layout(view.props.Document).layout).indexOf("FormattedTextBox") !== -1 && FormattedTextBox.HadSelection) {
Doc.Layout(view.props.Document).color = CurrentUserUtils.UserDocument.inkColor;
} else {
- Doc.Layout(view.props.Document).backgroundColor = CurrentUserUtils.UserDocument.inkColor;
+ Doc.Layout(view.props.Document)._backgroundColor = CurrentUserUtils.UserDocument.inkColor; // '_backgroundColor' is template specific. 'backgroundColor' would apply to all templates, but has no UI at the moment
}
}
});