Browse Source

AT-SPI: add to the selection in Selection.SelectChild instead of replacing it (#21602)

pull/21613/head
Jumar Macato 3 months ago
committed by GitHub
parent
commit
b164b257b5
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      src/Avalonia.FreeDesktop.AtSpi/Handlers/AtSpiSelectionHandler.cs

2
src/Avalonia.FreeDesktop.AtSpi/Handlers/AtSpiSelectionHandler.cs

@ -54,7 +54,7 @@ namespace Avalonia.FreeDesktop.AtSpi.Handlers
if (childPeer.GetProvider<ISelectionItemProvider>() is not { } selectionItem)
return ValueTask.FromResult(false);
selectionItem.Select();
selectionItem.AddToSelection();
return ValueTask.FromResult(true);
}

Loading…
Cancel
Save