提交 03f2e72e 编写于 作者: A Alex Dima

No FastRenderedViewLine on Safari (#19222)

上级 895ed166
......@@ -24,7 +24,7 @@ const canUseFastRenderedViewLine = (function () {
return true;
}
if (platform.isLinux || browser.isFirefox) {
if (platform.isLinux || browser.isFirefox || browser.isSafari) {
// On Linux, it appears that zooming affects char widths (in pixels), which is unexpected.
// --
// Even though we read character widths correctly, having read them at a specific zoom level
......@@ -34,6 +34,8 @@ const canUseFastRenderedViewLine = (function () {
// but until then we have to stick with reading client rects.
// --
// The same has been observed with Firefox on Windows7
// --
// The same has been oversved with Safari
return false;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册