weolar / miniblink49

a lighter, faster browser kernel of blink to integrate HTML UI in your app. 一个小巧、轻量的浏览器内核,用来取代wke和libcef
Apache License 2.0
7.22k stars 1.09k forks source link

SetDebugConfig drawMinInterval 接口实现有疏漏,未正确计算浮点数 #470

Open ynyyn opened 3 years ago

ynyyn commented 3 years ago

https://github.com/weolar/miniblink49/blob/93c493cfe2e8f982818fab1e8f6dc9194d5960ad/wke/wke.cpp#L302-L305

除以浮点数后,又赋值回了原来的 int 类型变量