Skip to content

Commit

Permalink
fixed wierd game behavior where settings height will also increase wi…
Browse files Browse the repository at this point in the history
…dth ...
  • Loading branch information
CzBuCHi committed Jul 28, 2024
1 parent 1dd80c2 commit 3cbc545
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public void UpdateWindowHeight() {

var size = _Window.GetContentSize();
CarInspectorResizerPlugin.ConsoleMessage($"Updated window height {height}");
_Window.SetContentSize(new Vector2(size.x, height));
_Window.SetContentSize(new Vector2(size.x - 2, height));
}

}
2 changes: 1 addition & 1 deletion CarInspectorResizer/CarInspectorResizer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<PropertyGroup>
<!-- Optionally, set a few things to your liking -->
<MajorVersion>1</MajorVersion>
<MinorVersion>2</MinorVersion>
<MinorVersion>3</MinorVersion>
<IsMod>true</IsMod>
<PackageMod>enable</PackageMod>
<Nullable>enable</Nullable>
Expand Down

0 comments on commit 3cbc545

Please sign in to comment.