-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: issue with
Theme
property empty for MATLAB without new desktop
- Loading branch information
1 parent
775ac21
commit 6dbcc94
Showing
6 changed files
with
19 additions
and
10 deletions.
There are no files selected for viewing
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 +1 @@ | ||
MAG_DATA_VISUALIZATION_VERSION=7.1.3 | ||
MAG_DATA_VISUALIZATION_VERSION=7.1.4 |
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
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,3 @@ | ||
# App | ||
|
||
- Fix Bartington figures not being registered by app when generated | ||
|
||
# Software | ||
|
||
- Add sorting and removal of zeroed-out vectors for Bartington analysis processing | ||
- Bartington field figures are also called "Bartington...", instead of "Field..." | ||
- Fix issue with `Theme` property empty for MATLAB without new desktop |
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
function value = isThemeable(figure) | ||
% ISTHEMEABLE Determine whether figure is themeable (i.e., if setting | ||
% dark/light mode is supported). | ||
|
||
arguments (Input) | ||
figure (1, 1) matlab.ui.Figure | ||
end | ||
|
||
arguments (Output) | ||
value (1, 1) logical | ||
end | ||
|
||
value = isprop(figure, "Theme") && isa(figure.Theme, "matlab.graphics.theme.GraphicsTheme"); | ||
end |
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