mirror of https://github.com/koreader/koreader
ProgressWidget: add some bound checks (#3916)
Avoid drawing the fill bar our of the progress bar. Avoid zero divided by zero that return 'nan' (Not a Number), that does not bother lua code, but will crash libblitbuffer.so when it gets nan as a coordinate.pull/3921/head
parent
cb46412049
commit
0fc7a5ed6d
Loading…
Reference in New Issue