Skip to content

Commit

Permalink
Fixed keyboard input
Browse files Browse the repository at this point in the history
  • Loading branch information
MrJul committed May 25, 2023
1 parent b4cd8ca commit 75333ea
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/JLeb.Estragonia/Input/GodotDevices.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ public static class GodotDevices {

/// <summary>Gets the keyboard device.</summary>
/// <remarks>At this time, we don't support multiple keyboard devices since Avalonia needs a single one for focus management.</remarks>
public static IKeyboardDevice Keyboard
=> new KeyboardDevice();
public static IKeyboardDevice Keyboard { get; } = new KeyboardDevice();

/// <summary>Gets a mouse device for a given Godot device identifier.</summary>
/// <param name="deviceId">The device identifier.</param>
Expand Down

0 comments on commit 75333ea

Please sign in to comment.