From 6f5bfa7c8cf10bbdd4171a11cf0f91cd9076da10 Mon Sep 17 00:00:00 2001 From: Oliver-makes-code Date: Fri, 26 Jan 2024 15:14:42 -0600 Subject: [PATCH] Use f3 to toggle borderless --- Client/VoxelClient.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Client/VoxelClient.cs b/Client/VoxelClient.cs index f5a7aeb..512ac0b 100644 --- a/Client/VoxelClient.cs +++ b/Client/VoxelClient.cs @@ -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);