mirror of
https://github.com/fanchenio/DawnLauncher.git
synced 2025-07-13 21:02:10 +08:00
Fixed the issue where the transparent rounded corners of the background failed after setting the background image
This commit is contained in:
parent
187ffeb636
commit
f2d0a81042
@ -418,6 +418,10 @@ function createBackgroundImageStyle() {
|
||||
"opacity: " +
|
||||
store.setting.appearance.backgroundImageTransparency +
|
||||
";" +
|
||||
(store.setting.appearance.transparency < 1 &&
|
||||
store.setting.appearance.windowRounded
|
||||
? "border-radius: 2%;"
|
||||
: "") +
|
||||
"}";
|
||||
// 将伪类样式规则添加到 head 元素中
|
||||
document.head.appendChild(backgroundImageStyle);
|
||||
|
Loading…
Reference in New Issue
Block a user