0
0
Fork 0
mirror of https://git.sr.ht/~rabbits/uxn synced 2024-11-26 07:45:14 +00:00

Redraw on resize

This commit is contained in:
neauoire 2023-11-09 14:45:51 -08:00
parent d0a521745a
commit f9de13652c
2 changed files with 4 additions and 3 deletions

View file

@ -15,9 +15,9 @@
@on-reset ( -> )
( | theme )
#68af .System/r DEO2
#79bf .System/g DEO2
#8ace .System/b DEO2
#48af .System/r DEO2
#59bf .System/g DEO2
#6ace .System/b DEO2
( | vectors )
;on-mouse .Mouse/vector DEO2
;on-frame .Screen/vector DEO2

View file

@ -156,6 +156,7 @@ screen_resize(Uint16 width, Uint16 height)
screen_fill(uxn_screen.bg, 0, 0, width, height, 0);
screen_fill(uxn_screen.fg, 0, 0, width, height, 0);
emu_resize(width, height);
screen_change(0, 0, width, height);
}
void