Skip to content
This repository has been archived by the owner on Nov 25, 2024. It is now read-only.

Commit

Permalink
Use f3 to toggle borderless
Browse files Browse the repository at this point in the history
  • Loading branch information
Oliver-makes-code committed Jan 26, 2024
1 parent 9571dd9 commit 6f5bfa7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Client/VoxelClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,9 @@ public override void OnFrame(double delta, double tickAccumulator) {
Keybinds.Poll();
justCapturedMouse = false;

if (Keybinds.Refresh.justPressed)
NativeWindow.BorderVisible = !NativeWindow.BorderVisible;

if (Keybinds.Pause.justPressed)
CaptureMouse(!isMouseCapruted);

Expand Down

0 comments on commit 6f5bfa7

Please sign in to comment.