You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 6, 2024. It is now read-only.
Chrome的userAgent里是包含Safari字符串的,所以在Browser模块里关于是否为Safari浏览器的判断是错误的。
Browser.onSafar=Browser.u.indexOf("Safari")>-1
应修改为:Browser.onSafar=Browser.u.index("Chrome")===-1 && Browser.u.indexOf("Safari")>-1
。这样的话在Graphics模块中
var offset=(!Render.isWebGL && (Browser.onFirefox || Browser.onEdge || Browser.onIE || Browser.onSafari)) ? 0.5 : 0
offset的值就是正确的,在Chrome下就不会有九宫格缝隙问题了。The text was updated successfully, but these errors were encountered: