diff --git a/OemLoader/MainWindow.cs b/OemLoader/MainWindow.cs index 2c3b000..00b1f22 100644 --- a/OemLoader/MainWindow.cs +++ b/OemLoader/MainWindow.cs @@ -60,7 +60,7 @@ public class MainWindow(string title) { if (!ProgramPatch.WindowOpen) return; - ImGui.SetNextWindowSize(new float2(400, 200), ImGuiCond.Once); + ImGui.SetNextWindowSize(new float2(500, 300), ImGuiCond.Once); ImGui.SetNextWindowSizeConstraints(new float2(200), new float2(2000)); if (ImGui.Begin(title, ref ProgramPatch.WindowOpen)) { @@ -84,13 +84,13 @@ public class MainWindow(string title) } catch (Exception e) { - _errorMessage = e.ToString(); + _errorMessage = $"Failed to open file:\n{e}"; } } if (_errorMessage is not null) { - ImGui.TextColored(new float4(0.863f, 0.196f, 0.184f, 0f), _errorMessage); + ImGui.TextColored(new float4(0.863f, 0.196f, 0.184f, 1f), _errorMessage); } if (_oem is not null && Program.ControlledVehicle is not null)