diff options
| author | bobzel <zzzman@gmail.com> | 2022-06-28 12:23:44 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2022-06-28 12:23:44 -0400 |
| commit | b1eb13fc6264b1272daba824ff0e4cd2bca8a6fa (patch) | |
| tree | fca09ddecbff44260ef15feafd717e62d50a790e /src/client/views/topbar | |
| parent | 0b9f5fb60d5ee3b589e2e4628c5f1a737757492d (diff) | |
cleaned up some more currentUserUtils - fixed some issues with prev/next key frame appearing.
Diffstat (limited to 'src/client/views/topbar')
| -rw-r--r-- | src/client/views/topbar/TopBar.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/views/topbar/TopBar.tsx b/src/client/views/topbar/TopBar.tsx index 61e836661..b447bdc19 100644 --- a/src/client/views/topbar/TopBar.tsx +++ b/src/client/views/topbar/TopBar.tsx @@ -14,6 +14,7 @@ import { SelectionManager } from "../../util/SelectionManager"; import { SettingsManager } from "../../util/SettingsManager"; import { SharingManager } from "../../util/SharingManager"; import { undoBatch, UndoManager } from "../../util/UndoManager"; +import { CollectionDockingView } from "../collections/CollectionDockingView"; import { ContextMenu } from "../ContextMenu"; import { Borders, Colors } from "../global/globalEnums"; import { MainView } from "../MainView"; @@ -26,7 +27,7 @@ import "./TopBar.scss"; @observer export class TopBar extends React.Component { navigateToHome = () => { - CurrentUserUtils.CaptureDashboardThumbnail()?.then(() => { + CollectionDockingView.Instance.CaptureThumbnail()?.then(() => { CurrentUserUtils.ActivePage = "home"; CurrentUserUtils.closeActiveDashboard(); // bcz: if we do this, we need some other way to keep track, for user convenience, of the last dashboard in use }); |
