changed name to SetCursorDisabled
@@ -369,8 +369,9 @@ func (w *Window) SetCursorVisible(visible bool) {
})
}
-// DisableCursor hides the cursor and provides unlimited virtual cursor movement
-func (w *Window) DisableCursor() {
+// SetCursorDisabled hides the cursor and provides unlimited virtual cursor movement
+// make cursor visible using SetCursorVisible
+func (w *Window) SetCursorDisabled() {
w.cursorVisible = false
mainthread.Call(func() {
w.window.SetInputMode(glfw.CursorMode, glfw.CursorDisabled)
