From 62470ea1f3b24c8eca6b342006430471345fee7e Mon Sep 17 00:00:00 2001 From: Jade Macho Date: Sun, 18 Feb 2024 18:21:18 +0100 Subject: [PATCH] Don't apply resolution on enter, bump ver --- CustomResolution/CustomResolution.csproj | 2 +- CustomResolution/Windows/ConfigWindow.cs | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/CustomResolution/CustomResolution.csproj b/CustomResolution/CustomResolution.csproj index 3e89d7b..a8dce7d 100644 --- a/CustomResolution/CustomResolution.csproj +++ b/CustomResolution/CustomResolution.csproj @@ -3,7 +3,7 @@ 0x0ade - 0.1.0.0 + 0.1.0.1 diff --git a/CustomResolution/Windows/ConfigWindow.cs b/CustomResolution/Windows/ConfigWindow.cs index ad85464..3cbb194 100644 --- a/CustomResolution/Windows/ConfigWindow.cs +++ b/CustomResolution/Windows/ConfigWindow.cs @@ -76,10 +76,7 @@ public class ConfigWindow : Window, IDisposable } else { - if (ImGui.InputInt2("Size in pixels", ref _configWH[0], ImGuiInputTextFlags.EnterReturnsTrue)) - { - save = true; - } + ImGui.InputInt2("Size in pixels", ref _configWH[0]); } if (ImGui.Button("Save and apply"))