mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-05-12 15:52:57 +00:00
perf(Theme): change log to en
This commit is contained in:
parent
410efb5af4
commit
75ceeab729
@ -130,7 +130,7 @@ limitations under the License. -->
|
|||||||
const x = themeSwitchRef.value?.offsetLeft ?? 0;
|
const x = themeSwitchRef.value?.offsetLeft ?? 0;
|
||||||
const y = themeSwitchRef.value?.offsetTop ?? 0;
|
const y = themeSwitchRef.value?.offsetTop ?? 0;
|
||||||
const endRadius = Math.hypot(Math.max(x, innerWidth - x), Math.max(y, innerHeight - y));
|
const endRadius = Math.hypot(Math.max(x, innerWidth - x), Math.max(y, innerHeight - y));
|
||||||
// 兼容性处理
|
// compatibility handling
|
||||||
if (!document.startViewTransition) {
|
if (!document.startViewTransition) {
|
||||||
changeTheme();
|
changeTheme();
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user