Skip to content

Commit

Permalink
beta 15
Browse files Browse the repository at this point in the history
  • Loading branch information
pkdawson committed Jan 25, 2023
1 parent 06b34e5 commit d965bed
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/godot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:

env:
gdver: "4.0"
gdrel: beta11
gdrel: beta15

jobs:
export_game:
Expand Down
2 changes: 1 addition & 1 deletion Dear ImGui for Godot Demo.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Godot.NET.Sdk/4.0.0-beta.11">
<Project Sdk="Godot.NET.Sdk/4.0.0-beta.15">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<EnableDynamicLoading>true</EnableDynamicLoading>
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Dear ImGui plugin for Godot 4 (C#)

![](https://img.shields.io/static/v1?label=Godot%204.0&message=beta11&color=blue&logo=godotengine)
![](https://img.shields.io/static/v1?label=Godot%204.0&message=beta15&color=blue&logo=godotengine)
![](https://github.com/pkdawson/imgui-godot/actions/workflows/dotnet.yml/badge.svg)
![](https://github.com/pkdawson/imgui-godot/actions/workflows/godot.yml/badge.svg)

Expand Down
5 changes: 2 additions & 3 deletions addons/imgui-godot/ImGuiGodot/Internal/Input.cs
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ private static void UpdateKeyMods(ImGuiIOPtr io)
io.AddKeyEvent(ImGuiKey.ModCtrl, Godot.Input.IsKeyPressed(Key.Ctrl));
io.AddKeyEvent(ImGuiKey.ModShift, Godot.Input.IsKeyPressed(Key.Shift));
io.AddKeyEvent(ImGuiKey.ModAlt, Godot.Input.IsKeyPressed(Key.Alt));
io.AddKeyEvent(ImGuiKey.ModSuper, Godot.Input.IsKeyPressed(Key.SuperL));
io.AddKeyEvent(ImGuiKey.ModSuper, Godot.Input.IsKeyPressed(Key.Meta));
}

private static CursorShape ConvertCursorShape(ImGuiMouseCursor cur) => cur switch
Expand Down Expand Up @@ -263,8 +263,7 @@ private static void UpdateKeyMods(ImGuiIOPtr io)
Key.Ctrl => ImGuiKey.LeftCtrl,
Key.Shift => ImGuiKey.LeftShift,
Key.Alt => ImGuiKey.LeftAlt,
Key.SuperL => ImGuiKey.LeftSuper,
Key.SuperR => ImGuiKey.RightSuper,
Key.Meta => ImGuiKey.LeftSuper,
Key.Menu => ImGuiKey.Menu,
Key.Key0 => ImGuiKey._0,
Key.Key1 => ImGuiKey._1,
Expand Down

0 comments on commit d965bed

Please sign in to comment.