Fixed the issue where the transparent rounded corners of the background failed after setting the background image

This commit is contained in:
fanchenio 2023-11-07 10:36:34 +08:00
parent 187ffeb636
commit f2d0a81042

View File

@ -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);