Skip to content

Commit 155e22a

Browse files
Fix background color on navigation (#9010)
This PR fixes the following issue: ``` ich wollte nochmal melden, dass ich fast immer (wenn ich aus dem dashboard komme), einen weißen 3d-viewport und eine weiße pixel-leiste links habe ``` ### URL of deployed dev instance (used for testing): - https://___.webknossos.xyz ### Steps to test: 1. Switch on dark theme 2. Open any dataset 3. Navigate back to dashboard through "navbar" 4. Open any dataset 5. 3D Viewport should be black. Any 1px offset should also be black/background color and not visible ### Issues: - fixes https://scm.slack.com/archives/C5AKLAV0B/p1761125197020439 ------ (Please delete unneeded items, merge only when none are left open) - [ ] Added changelog entry (create a `$PR_NUMBER.md` file in `unreleased_changes` or use `./tools/create-changelog-entry.py`) - [ ] Added migration guide entry if applicable (edit the same file as for the changelog) - [ ] Updated [documentation](../blob/master/docs) if applicable - [ ] Adapted [wk-libs python client](https://github.com/scalableminds/webknossos-libs/tree/master/webknossos/webknossos/client) if relevant API parts change - [ ] Removed dev-only changes like prints and application.conf edits - [ ] Considered [common edge cases](../blob/master/.github/common_edge_cases.md) - [ ] Needs datastore update after deployment Co-authored-by: Norman Rzepka <[email protected]>
1 parent 15eea70 commit 155e22a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

frontend/javascripts/viewer/model/reducers/ui_reducer.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ function UiReducer(state: WebknossosState, action: Action): WebknossosState {
1818
activeOrganization: state.activeOrganization,
1919
uiInformation: {
2020
...defaultState.uiInformation,
21+
theme: state.uiInformation.theme,
2122
storedLayouts: state.uiInformation.storedLayouts,
2223
navbarHeight: state.uiInformation.navbarHeight,
2324
},

0 commit comments

Comments
 (0)