(m291) Fixed progress bar width
This commit is contained in:
parent
1da048a181
commit
f1c531b876
|
@ -131,13 +131,12 @@
|
|||
|
||||
@calc-width ( total* curr* -- width* )
|
||||
STH2
|
||||
DUP2 #013c LTH2 ?&ready
|
||||
&scale ( -- )
|
||||
DUP2 #0277 LTH2 ?&almost
|
||||
#01 SFT2 LITr 01 SFT2r !&scale
|
||||
&almost INC2 #01 SFT2 INC2r LITr 01 SFT2r
|
||||
&ready ( -- )
|
||||
LIT2r 00d0 MUL2r STH2r SWP2 DIV2 JMP2r
|
||||
DUP2 #011b LTH2 ?{
|
||||
&scale ( -- )
|
||||
DUP2 #0237 LTH2 ?{
|
||||
#01 SFT2 LITr 01 SFT2r !&scale }
|
||||
INC2 #01 SFT2 INC2r LITr 01 SFT2r }
|
||||
[ LIT2r 00e7 ] MUL2r STH2r SWP2 DIV2 JMP2r
|
||||
|
||||
(
|
||||
@|events )
|
||||
|
|
Loading…
Reference in New Issue