mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-03 17:56:44 +02:00
image resizer and settings percentage unit (#8674)
This commit is contained in:
committed by
GitHub
parent
34ff670e5b
commit
11bdbaa07f
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) Microsoft Corporation
|
||||
// Copyright (c) Microsoft Corporation
|
||||
// The Microsoft Corporation licenses this file to you under the MIT license.
|
||||
// See the LICENSE file in the project root for more information.
|
||||
|
||||
@@ -70,7 +70,7 @@ namespace Microsoft.PowerToys.Settings.UI.Library
|
||||
{
|
||||
get
|
||||
{
|
||||
if (Unit == 2)
|
||||
if (Unit == 2 && Fit != 2)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
@@ -85,7 +85,7 @@ namespace Microsoft.PowerToys.Settings.UI.Library
|
||||
{
|
||||
get
|
||||
{
|
||||
if (Unit == 2)
|
||||
if (Unit == 2 && Fit != 2)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
@@ -128,6 +128,8 @@ namespace Microsoft.PowerToys.Settings.UI.Library
|
||||
{
|
||||
_fit = value;
|
||||
OnPropertyChanged();
|
||||
OnPropertyChanged(nameof(ExtraBoxOpacity));
|
||||
OnPropertyChanged(nameof(EnableEtraBoxes));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user