~rabbits/nasu

43d228340242d058079d8ce2e5c554e00fcc1c4e — Devine Lu Linvega 8 months ago b76d206
Clean redraw on menu-leave
1 files changed, 11 insertions(+), 7 deletions(-)

M src/manifest.tal
M src/manifest.tal => src/manifest.tal +11 -7
@@ 64,13 64,17 @@ BRK

	.Mouse/state DEI ;on-menu-touch JCN2

	.Mouse/y DEI2 #0008 LTH2 ,&no-exit JCN
		;untrap JSR2
		;draw-cat JSR2
		;draw-cat/sel LDA #00 ;draw-sub JSR2
		#ff ;draw-cat/sel STA
		;redraw JSR2
		&no-exit
	.Mouse/y DEI2 #0007 GTH2 ;on-menu-leave JCN2

BRK

@on-menu-leave ( -> )

	;untrap JSR2
	( hide ) ;draw-cat/sel LDA #00 ;draw-sub JSR2
	#ff ;draw-cat/sel STA
	;draw-cat JSR2
	;redraw JSR2

BRK