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:
parent
d0a521745a
commit
f9de13652c
2 changed files with 4 additions and 3 deletions
|
@ -15,9 +15,9 @@
|
||||||
|
|
||||||
@on-reset ( -> )
|
@on-reset ( -> )
|
||||||
( | theme )
|
( | theme )
|
||||||
#68af .System/r DEO2
|
#48af .System/r DEO2
|
||||||
#79bf .System/g DEO2
|
#59bf .System/g DEO2
|
||||||
#8ace .System/b DEO2
|
#6ace .System/b DEO2
|
||||||
( | vectors )
|
( | vectors )
|
||||||
;on-mouse .Mouse/vector DEO2
|
;on-mouse .Mouse/vector DEO2
|
||||||
;on-frame .Screen/vector DEO2
|
;on-frame .Screen/vector DEO2
|
||||||
|
|
|
@ -156,6 +156,7 @@ screen_resize(Uint16 width, Uint16 height)
|
||||||
screen_fill(uxn_screen.bg, 0, 0, width, height, 0);
|
screen_fill(uxn_screen.bg, 0, 0, width, height, 0);
|
||||||
screen_fill(uxn_screen.fg, 0, 0, width, height, 0);
|
screen_fill(uxn_screen.fg, 0, 0, width, height, 0);
|
||||||
emu_resize(width, height);
|
emu_resize(width, height);
|
||||||
|
screen_change(0, 0, width, height);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
Loading…
Reference in a new issue