mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-12 19:35:50 +00:00
perf: 深色模式硬件加速
This commit is contained in:
parent
cc76e91e12
commit
bbdf4932e3
3
resources/assets/js/functions/web.js
vendored
3
resources/assets/js/functions/web.js
vendored
@ -1218,7 +1218,7 @@
|
||||
@media screen {
|
||||
html {
|
||||
${this.utils.defaultFilter()}
|
||||
transform: translateZ(0);
|
||||
will-change: transform;
|
||||
}
|
||||
|
||||
/* Default Reverse rule */
|
||||
@ -1238,6 +1238,7 @@
|
||||
.no-dark-content,
|
||||
.no-dark-before:before {
|
||||
${this.utils.reverseFilter()}
|
||||
will-change: transform;
|
||||
}
|
||||
|
||||
[style*="background:url"] *,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user