未验证 提交 409bd703 编写于 作者: J João Moreno 提交者: GitHub

Merge pull request #96096 from facebookexperimental/spinner-perf

Throttle status bar spinner animations to save CPU
......@@ -10,5 +10,6 @@
}
.codicon-animation-spin {
animation: codicon-spin 1.5s linear infinite;
/* Use steps to throttle FPS to reduce CPU usage */
animation: codicon-spin 1.5s steps(30) infinite;
}
......@@ -61,5 +61,6 @@
}
.monaco-tl-twistie.codicon-tree-item-loading::before {
animation: codicon-spin 1.25s linear infinite;
/* Use steps to throttle FPS to reduce CPU usage */
animation: codicon-spin 1.25s steps(30) infinite;
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册