Browse Source

Merge branch 'master' into feature/wraplayout-for-itemsrepeater

pull/3916/head
danwalmsley 6 years ago
committed by GitHub
parent
commit
f60f113c42
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/Avalonia.Headless/HeadlessWindowImpl.cs

2
src/Avalonia.Headless/HeadlessWindowImpl.cs

@ -244,6 +244,8 @@ namespace Avalonia.Headless
public Action LostFocus { get; set; }
public AcrylicPlatformCompensationLevels AcrylicCompensationLevels => new AcrylicPlatformCompensationLevels(1, 1, 1);
void IHeadlessWindow.KeyPress(Key key, RawInputModifiers modifiers)
{
Input?.Invoke(new RawKeyEventArgs(_keyboard, Timestamp, InputRoot, RawKeyEventType.KeyDown, key, modifiers));

Loading…
Cancel
Save