Remove an unneeded check and comment
This commit is contained in:
parent
673c922b72
commit
d86967eb7c
2 changed files with 1 additions and 2 deletions
|
@ -508,7 +508,6 @@ namespace OpenTK.Platform.Linux
|
|||
}
|
||||
set
|
||||
{
|
||||
if (value == is_cursor_visible) return;
|
||||
if (value && !is_cursor_visible)
|
||||
{
|
||||
SetCursor(cursor_current);
|
||||
|
|
|
@ -1256,7 +1256,7 @@ namespace OpenTK.Platform.Windows
|
|||
|
||||
public override bool CursorVisible
|
||||
{
|
||||
get { return cursor_visible_count >= 0; } // Not used
|
||||
get { return cursor_visible_count >= 0; }
|
||||
set
|
||||
{
|
||||
if (value && cursor_visible_count < 0)
|
||||
|
|
Loading…
Reference in a new issue