-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* collapsed panels fixed * Updated snapshots (#6829) Co-authored-by: JulianWielga <[email protected]> --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: JulianWielga <[email protected]>
- Loading branch information
1 parent
f6e5bc4
commit 7e18b88
Showing
3 changed files
with
5 additions
and
8 deletions.
There are no files selected for viewing
Binary file modified
BIN
-9 Bytes
(100%)
...ots__/electron/Linux/Fragment should display dead-ended fragment correct #0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,5 @@ | ||
import { createSelector } from "reselect"; | ||
import { defaultState } from "../panel"; | ||
import { getToolbars } from "./toolbars"; | ||
import { Panels } from "../panel"; | ||
|
||
export const panelsState = createSelector(getToolbars, (t) => t.panels || ({} as Panels)); | ||
|
||
export const isLeftPanelOpened = createSelector(panelsState, (panels) => panels?.LEFT); | ||
export const isRightPanelOpened = createSelector(panelsState, (panels) => panels?.RIGHT); | ||
export const panelsState = createSelector(getToolbars, (t) => ({ ...defaultState, ...t.panels })); |