[client] don't draw the cursor if it leaves the frame

This commit is contained in:
Geoffrey McRae
2020-01-11 12:56:46 +11:00
parent 05dc713dac
commit 13f55011c0
3 changed files with 14 additions and 2 deletions

View File

@@ -47,6 +47,7 @@ struct AppState
bool serverMode;
bool haveCursorPos;
bool drawCursor;
bool cursorInView;
bool updateCursor;
float scaleX, scaleY;
float accX, accY;