mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-04 18:26:39 +02:00
[Settings]Colorpicker settings page focus a11y fixes (#32582)
* fixed dialog tab navigation * fixed color formats list focus
This commit is contained in:
committed by
GitHub
parent
5c352a3bf3
commit
cc4bd4486c
@@ -424,10 +424,11 @@ namespace Microsoft.PowerToys.Settings.UI.ViewModels
|
||||
return colorFormatModel.IsValid;
|
||||
}
|
||||
|
||||
internal void DeleteModel(ColorFormatModel colorFormatModel)
|
||||
internal int DeleteModel(ColorFormatModel colorFormatModel)
|
||||
{
|
||||
var deleteIndex = ColorFormats.IndexOf(colorFormatModel);
|
||||
ColorFormats.Remove(colorFormatModel);
|
||||
SetPreviewSelectedIndex();
|
||||
return deleteIndex;
|
||||
}
|
||||
|
||||
internal void UpdateColorFormat(string oldName, ColorFormatModel colorFormat)
|
||||
|
||||
Reference in New Issue
Block a user