Skip to content

Commit

Permalink
Window now clamps to screen
Browse files Browse the repository at this point in the history
  • Loading branch information
Slackluster committed Jun 10, 2024
1 parent 5f4780b commit 176862d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Core.lua
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ function app.CreateWindow()
app.Window:SetBackdropBorderColor(0.776, 0.608, 0.427)
app.Window:EnableMouse(true)
app.Window:SetMovable(true)
app.Window:SetClampedToScreen(true)
app.Window:SetResizable(true)
app.Window:SetResizeBounds(140, 140, 600, 600)
app.Window:RegisterForDrag("LeftButton")
Expand Down

0 comments on commit 176862d

Please sign in to comment.