Skip to content

Commit

Permalink
Update for Godot 3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
pkdawson committed Aug 11, 2022
1 parent 5a71c7d commit 12c96e4
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 6 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text=auto eol=lf
4 changes: 2 additions & 2 deletions 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/3.2.3">
<Project Sdk="Godot.NET.Sdk/3.3.0">
<PropertyGroup>
<TargetFramework>net472</TargetFramework>
<RootNamespace>DearImGuiforGodotDemo</RootNamespace>
Expand All @@ -13,6 +13,6 @@
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="ImGui.NET" Version="1.78.0" />
<PackageReference Include="ImGui.NET" Version="1.87.3" />
</ItemGroup>
</Project>
4 changes: 2 additions & 2 deletions addons/imgui-godot/ImGuiGD.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Godot;
using Godot;
using ImGuiNET;
using System;
using System.Collections.Generic;
Expand Down Expand Up @@ -104,7 +104,7 @@ public static void Init(Viewport vp)
io.KeyMap[(int)ImGuiKey.Space] = FixKey(KeyList.Space);
io.KeyMap[(int)ImGuiKey.Enter] = FixKey(KeyList.Enter);
io.KeyMap[(int)ImGuiKey.Escape] = FixKey(KeyList.Escape);
io.KeyMap[(int)ImGuiKey.KeyPadEnter] = FixKey(KeyList.KpEnter);
io.KeyMap[(int)ImGuiKey.KeypadEnter] = FixKey(KeyList.KpEnter);
io.KeyMap[(int)ImGuiKey.A] = (int)KeyList.A;
io.KeyMap[(int)ImGuiKey.C] = (int)KeyList.C;
io.KeyMap[(int)ImGuiKey.V] = (int)KeyList.V;
Expand Down
3 changes: 2 additions & 1 deletion demo.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ texture = ExtResource( 3 )
__meta__ = {
"_edit_use_anchors_": false
}

[connection signal="pressed" from="Button" to="Button" method="_on_Button_pressed"]
[connection signal="IGLayout" from="ImGui" to="SomeOtherNode" method="_onLayout"]
[connection signal="IGLayout" from="ImGui" to="Button" method="_on_ImGui_IGLayout"]
[connection signal="IGLayout" from="ImGui" to="SomeOtherNode" method="_onLayout"]
1 change: 1 addition & 0 deletions icon.png.import
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=true
Expand Down
1 change: 0 additions & 1 deletion project.godot
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ config_version=4

_global_script_classes=[ ]
_global_script_class_icons={

}

[application]
Expand Down

0 comments on commit 12c96e4

Please sign in to comment.