forked from microsoft/terminal
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Polish the Background Image settings (microsoft#8778)
## Summary of the Pull Request Two parts: * Hide the BG image settings when no image is specified * Add a checkbox for "Use desktop wallpaper". When that's checked, the BG image path input is hidden. Unchecking that box restores the path to what it was before. ## PR Checklist * [x] Closes microsoft#8763 * [x] I work here ## Validation Steps Performed Tested manually
- Loading branch information
1 parent
0b86e8c
commit 31e6972
Showing
18 changed files
with
332 additions
and
121 deletions.
There are no files selected for viewing
10 changes: 0 additions & 10 deletions
10
src/cascadia/TerminalSettingsEditor/ColorToBrushConverter.idl
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
src/cascadia/TerminalSettingsEditor/ColorToHexConverter.idl
This file was deleted.
Oops, something went wrong.
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,45 @@ | ||
// Copyright (c) Microsoft Corporation. | ||
// Licensed under the MIT license. | ||
|
||
namespace Microsoft.Terminal.Settings.Editor | ||
{ | ||
runtimeclass FontWeightConverter : [default] Windows.UI.Xaml.Data.IValueConverter | ||
{ | ||
FontWeightConverter(); | ||
}; | ||
|
||
runtimeclass InvertedBooleanToVisibilityConverter : [default] Windows.UI.Xaml.Data.IValueConverter | ||
{ | ||
InvertedBooleanToVisibilityConverter(); | ||
}; | ||
|
||
runtimeclass ColorToBrushConverter : [default] Windows.UI.Xaml.Data.IValueConverter | ||
{ | ||
ColorToBrushConverter(); | ||
}; | ||
|
||
runtimeclass ColorToHexConverter : [default] Windows.UI.Xaml.Data.IValueConverter | ||
{ | ||
ColorToHexConverter(); | ||
}; | ||
|
||
runtimeclass PercentageConverter : [default] Windows.UI.Xaml.Data.IValueConverter | ||
{ | ||
PercentageConverter(); | ||
}; | ||
|
||
runtimeclass StringIsEmptyConverter : [default] Windows.UI.Xaml.Data.IValueConverter | ||
{ | ||
StringIsEmptyConverter(); | ||
}; | ||
|
||
runtimeclass StringIsNotDesktopConverter : [default] Windows.UI.Xaml.Data.IValueConverter | ||
{ | ||
StringIsNotDesktopConverter(); | ||
}; | ||
runtimeclass DesktopWallpaperToEmptyStringConverter : [default] Windows.UI.Xaml.Data.IValueConverter | ||
{ | ||
DesktopWallpaperToEmptyStringConverter(); | ||
}; | ||
|
||
} |
10 changes: 0 additions & 10 deletions
10
src/cascadia/TerminalSettingsEditor/FontWeightConverter.idl
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
src/cascadia/TerminalSettingsEditor/InvertedBooleanToVisibilityConverter.idl
This file was deleted.
Oops, something went wrong.
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
10 changes: 0 additions & 10 deletions
10
src/cascadia/TerminalSettingsEditor/PercentageConverter.idl
This file was deleted.
Oops, something went wrong.
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
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
Oops, something went wrong.