Skip to content

Commit

Permalink
task: add support for dark mode in mission selection background
Browse files Browse the repository at this point in the history
  • Loading branch information
mfacchinelli committed Jan 10, 2025
1 parent 52244ed commit 615de54
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 6 additions & 1 deletion app/core/+mag/+app/+internal/SelectMissionDialog.m
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,12 @@ function instantiate(this)
this.GridLayout = uigridlayout(this.Parent);
this.GridLayout.ColumnWidth = ["1x", "2x", "1x"];
this.GridLayout.RowHeight = ["2x", "1x", "2x"];
this.GridLayout.BackgroundColor = 0.98 * ones(1, 3);

if isprop(this.Parent, "Theme") && isequal(this.Parent.Theme.BaseColorStyle, "dark")
this.GridLayout.BackgroundColor = 0.02 * ones(1, 3);
else
this.GridLayout.BackgroundColor = 0.98 * ones(1, 3);
end

% Create Panel.
this.Panel = uipanel(this.GridLayout);
Expand Down
1 change: 1 addition & 0 deletions resources/release-notes.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# App

- Add support for dark mode in mission selection background
- Add checkbox in IMAP AT/SFT visualization options to show spectrograms
- Reduce duplication in definition of supported view-controllers for each mission
- Disable toolbar when selecting a mission
Expand Down

0 comments on commit 615de54

Please sign in to comment.