mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-04 18:26:39 +02:00
[Settings][ColorPicker]Fix issues related to custom color formats (#22493)
* ColorPicker fixing problem settings not sent to CP module (when newly created formats change) * ColorPicker fixing problem Move Up button diabled for the 2nd element of the color formats list after creating a new color format.
This commit is contained in:
@@ -86,8 +86,11 @@ namespace Microsoft.PowerToys.Settings.UI.Library
|
||||
|
||||
set
|
||||
{
|
||||
_canMoveUp = value;
|
||||
OnPropertyChanged(nameof(CanMoveUp));
|
||||
if (value != _canMoveUp)
|
||||
{
|
||||
_canMoveUp = value;
|
||||
OnPropertyChanged(nameof(CanMoveUp));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -100,8 +103,11 @@ namespace Microsoft.PowerToys.Settings.UI.Library
|
||||
|
||||
set
|
||||
{
|
||||
_canMoveDown = value;
|
||||
OnPropertyChanged(nameof(CanMoveDown));
|
||||
if (value != _canMoveDown)
|
||||
{
|
||||
_canMoveDown = value;
|
||||
OnPropertyChanged(nameof(CanMoveDown));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user