diff options
| author | bobzel <zzzman@gmail.com> | 2020-08-21 16:05:52 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2020-08-21 16:05:52 -0400 |
| commit | 36630b9aa2e1c4710a69a4fdf4ec98c3f5bca92c (patch) | |
| tree | 9bd7fa23d581a016d963baf945b677d0476f8b27 /src/client/views/DocumentDecorations.tsx | |
| parent | 0dea458152552d6bc797d6e2d4a7d95759bcda64 (diff) | |
trying scenes instead of workspaces
Diffstat (limited to 'src/client/views/DocumentDecorations.tsx')
| -rw-r--r-- | src/client/views/DocumentDecorations.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/DocumentDecorations.tsx b/src/client/views/DocumentDecorations.tsx index 0cc492ee9..fdce8bf71 100644 --- a/src/client/views/DocumentDecorations.tsx +++ b/src/client/views/DocumentDecorations.tsx @@ -596,7 +596,7 @@ export class DocumentDecorations extends React.Component<{}, { value: string }> return <FontAwesomeIcon icon={button} className="documentView-minimizedIcon" />; } render() { - const darkScheme = Cast(Doc.UserDoc().activeWorkspace, Doc, null)?.darkScheme ? "dimgray" : undefined; + const darkScheme = Cast(Doc.UserDoc().activeScene, Doc, null)?.darkScheme ? "dimgray" : undefined; const bounds = this.Bounds; const seldoc = SelectionManager.SelectedDocuments().length ? SelectionManager.SelectedDocuments()[0] : undefined; if (SnappingManager.GetIsDragging() || bounds.r - bounds.x < 1 || bounds.x === Number.MAX_VALUE || !seldoc || this._hidden || isNaN(bounds.r) || isNaN(bounds.b) || isNaN(bounds.x) || isNaN(bounds.y)) { |
