Swap U offset for idle/pressed cursor sprites
Since the cursor is mostly idle, it makes sense to set its sprite as the default.
This commit is contained in:
parent
11810e8760
commit
f5c7e88b26
|
@ -50,10 +50,10 @@ int cursor_render(const struct cursor *const c)
|
|||
switch (c->state)
|
||||
{
|
||||
case CURSOR_STATE_IDLE:
|
||||
s->u += CAMERA_CURSOR_WIDTH;
|
||||
break;
|
||||
|
||||
case CURSOR_STATE_PRESSED:
|
||||
s->u += CAMERA_CURSOR_WIDTH;
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue