Browse Source

fix build.

pull/4236/head
Dan Walmsley 6 years ago
parent
commit
f3e8560ab7
  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