Skip to content

Commit

Permalink
Make sure tablet is valid for drawing
Browse files Browse the repository at this point in the history
  • Loading branch information
Apostolique committed Apr 3, 2024
1 parent 60afbc0 commit 5413aa5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Game/GameRoot.cs
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ protected override void Update(GameTime gameTime) {
} else {
Console.WriteLine($"{_isTabletDrawing} -- {_isMouseDrawing}");
#if SDLWINDOWS
if (!_isMouseDrawing) {
if (!_isMouseDrawing && _tabletIsValid) {
DrawWithTablet();
tabletProcessed = true;
}
Expand Down

0 comments on commit 5413aa5

Please sign in to comment.