This commit is contained in:
Liza 2023-02-06 21:15:07 +01:00
parent de890b78f8
commit 797aaae422
Signed by: liza
GPG Key ID: 7199F8D727D55F67
2 changed files with 4 additions and 4 deletions

View File

@ -3,7 +3,7 @@
<PropertyGroup> <PropertyGroup>
<Authors></Authors> <Authors></Authors>
<Company></Company> <Company></Company>
<Version>6.0</Version> <Version>6.1</Version>
<Description>Slice is Right.</Description> <Description>Slice is Right.</Description>
<Copyright></Copyright> <Copyright></Copyright>
<PackageProjectUrl>https://github.com/carvelli/Slice-Is-Right</PackageProjectUrl> <PackageProjectUrl>https://github.com/carvelli/Slice-Is-Right</PackageProjectUrl>

View File

@ -132,9 +132,9 @@ namespace SliceIsRight
{ {
ImGui.PushID("sliceWindowI" + name); ImGui.PushID("sliceWindowI" + name);
ImGui.PushStyleVar((ImGuiStyleVar)1, new Vector2(0.0f, 0.0f)); ImGui.PushStyleVar(ImGuiStyleVar.WindowPadding, Vector2.Zero);
ImGuiHelpers.SetNextWindowPosRelativeMainViewport(new Vector2(0.0f, 0.0f), ImGuiCond.None, new Vector2()); ImGuiHelpers.SetNextWindowPosRelativeMainViewport(Vector2.Zero, ImGuiCond.None, Vector2.Zero);
ImGui.Begin("sliceWindow" + name, ImGuiWindowFlags.NoTitleBar | ImGuiWindowFlags.NoScrollbar | ImGuiWindowFlags.NoBackground | ImGuiWindowFlags.NoInputs); ImGui.Begin("sliceWindow" + name, ImGuiWindowFlags.NoTitleBar | ImGuiWindowFlags.NoScrollbar | ImGuiWindowFlags.NoBackground | ImGuiWindowFlags.NoInputs | ImGuiWindowFlags.NoSavedSettings);
ImGui.SetWindowSize(ImGui.GetIO().DisplaySize); ImGui.SetWindowSize(ImGui.GetIO().DisplaySize);
} }