Skip to content

Commit b1d24e6

Browse files
committed
#509: fixed custom cursor rendering
1 parent 38ec80b commit b1d24e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/studio/studio.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1937,7 +1937,7 @@ static void blitCursor()
19371937
tic_mem* tic = impl.studio.tic;
19381938
tic80_mouse* m = &tic->ram.input.mouse;
19391939

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

0 commit comments

Comments
 (0)