提交 b0fa6425 编写于 作者: A Alex Dima

Do not use FastRenderedViewLine on Firefox on Windows7

上级 2adf3294
......@@ -24,7 +24,7 @@ const canUseFastRenderedViewLine = (function () {
return true;
}
if (platform.isLinux) {
if (platform.isLinux || browser.isFirefox) {
// 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
......@@ -32,6 +32,8 @@ const canUseFastRenderedViewLine = (function () {
// --
// This could be improved if we ever figure out how to get an event when browsers zoom,
// but until then we have to stick with reading client rects.
// --
// The same has been observed with Firefox on Windows7
return false;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册