[FileExplorer]Stl Thumbnails color customization (#19928)

This commit is contained in:
Pedro Lamas
2022-08-23 21:45:27 +01:00
committed by GitHub
parent 5c431b5ac5
commit c26e23b904
6 changed files with 78 additions and 8 deletions

View File

@@ -12,6 +12,8 @@ namespace Microsoft.PowerToys.Settings.UI.Library
{
public class PowerPreviewProperties
{
public const string DefaultStlThumbnailColor = "#FFC924";
private bool enableSvgPreview = true;
[JsonPropertyName("svg-previewer-toggle-setting")]
@@ -182,8 +184,12 @@ namespace Microsoft.PowerToys.Settings.UI.Library
}
}
[JsonPropertyName("stl-thumbnail-color-setting")]
public StringProperty StlThumbnailColor { get; set; }
public PowerPreviewProperties()
{
StlThumbnailColor = new StringProperty(DefaultStlThumbnailColor);
}
public override string ToString()