Skip to content

Commit

Permalink
#509: fixed custom cursor rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
nesbox committed Sep 6, 2021
1 parent 38ec80b commit b1d24e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/studio/studio.c
Original file line number Diff line number Diff line change
Expand Up @@ -1937,7 +1937,7 @@ static void blitCursor()
tic_mem* tic = impl.studio.tic;
tic80_mouse* m = &tic->ram.input.mouse;

if(tic->input.mouse && m->x < TIC80_FULLWIDTH && m->y < TIC80_FULLHEIGHT)
if(tic->input.mouse && !m->relative && m->x < TIC80_FULLWIDTH && m->y < TIC80_FULLHEIGHT)
{
const tic_bank* bank = &tic->cart.bank0;

Expand Down

0 comments on commit b1d24e6

Please sign in to comment.