mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-05 18:57:19 +02:00
[FileExplorer]Stl Thumbnails color customization (#19928)
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user