Skip to content

Commit 239ac5c

Browse files
committed
Hide the cursor
1 parent 3a580be commit 239ac5c

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

video/video.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,7 @@ func (video *Video) Configure(fullscreen bool) {
101101
// Force a minimum size for the window.
102102
video.Window.SetSizeLimits(160, 120, glfw.DontCare, glfw.DontCare)
103103

104-
if fullscreen {
105-
video.Window.SetInputMode(glfw.CursorMode, glfw.CursorHidden)
106-
}
104+
video.Window.SetInputMode(glfw.CursorMode, glfw.CursorHidden)
107105

108106
// Initialize Glow
109107
if err := gl.Init(); err != nil {

0 commit comments

Comments
 (0)