mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-07 19:57:07 +02:00
Added localization to default sizes (#8928)
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
// The Microsoft Corporation licenses this file to you under the MIT license.
|
||||
// See the LICENSE file in the project root for more information.
|
||||
|
||||
using System;
|
||||
using System.Text.Json;
|
||||
using System.Text.Json.Serialization;
|
||||
using Microsoft.PowerToys.Settings.UI.Library.Interfaces;
|
||||
@@ -22,6 +23,12 @@ namespace Microsoft.PowerToys.Settings.UI.Library
|
||||
Properties = new ImageResizerProperties();
|
||||
}
|
||||
|
||||
public ImageResizerSettings(Func<string, string> resourceLoader)
|
||||
: this()
|
||||
{
|
||||
Properties = new ImageResizerProperties(resourceLoader);
|
||||
}
|
||||
|
||||
public override string ToJsonString()
|
||||
{
|
||||
var options = new JsonSerializerOptions
|
||||
|
||||
Reference in New Issue
Block a user