diff options
author | Bob Zeleznik <zzzman@gmail.com> | 2019-05-30 23:05:40 -0400 |
---|---|---|
committer | Bob Zeleznik <zzzman@gmail.com> | 2019-05-30 23:05:40 -0400 |
commit | 1c954ccf7583d1e63613a7e47724fbdc2000a8f5 (patch) | |
tree | 5e62c5c21bac08b5c70a4f8a040bb877b03699d7 /src/client/views/InkingControl.tsx | |
parent | 83edfcd06b659839f161121728de02aca91d4af8 (diff) |
fixed dragging schemas w/ preview open by adding overflow hidden.
Diffstat (limited to 'src/client/views/InkingControl.tsx')
-rw-r--r-- | src/client/views/InkingControl.tsx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/client/views/InkingControl.tsx b/src/client/views/InkingControl.tsx index 17d4a1e49..d456f531f 100644 --- a/src/client/views/InkingControl.tsx +++ b/src/client/views/InkingControl.tsx @@ -35,9 +35,7 @@ export class InkingControl extends React.Component { @action switchColor = (color: ColorResult): void => { this._selectedColor = color.hex; - SelectionManager.SelectedDocuments().forEach(doc => - doc.props.ContainingCollectionView && Doc.SetOnPrototype(doc.props.Document, "backgroundColor", color.hex) - ); + SelectionManager.SelectedDocuments().forEach(doc => Doc.GetProto(doc.props.Document).backgroundColor = color.hex); } @action |