Skip to content

Commit 525e889

Browse files
fix: add mask and window-frame="solid" to see if win works
1 parent 562481f commit 525e889

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

resources/dist.rc

33 Bytes
Binary file not shown.

src/celemod-ui/src/i2.css

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,13 @@ html {
1414
background: #050505 !important;
1515
}
1616

17-
html[window-blurbehind] {
17+
html[window-blurbehind]:not([platform="Windows"]) {
1818
background:transparent !important;
1919
}
2020

21-
21+
html[window-blurbehind][platform="Windows"] {
22+
background:#05050599 !important;
23+
}
2224

2325
@set v-scroll-indicator {
2426
.slider {

src/celemod-ui/src/index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
window-min-width="800px"
88
window-min-height="600px"
99
window-icon="./Celemod.b5f3f7f9.png"
10+
window-frame="solid"
1011
>
1112
<head>
1213
<meta charset="utf-8" />
@@ -69,8 +70,8 @@
6970
document.querySelector(".win-ctrl").style.display = "none";
7071
} else {
7172
document.body.parentElement.setAttribute('window-frame', 'solid');
72-
document.body.parentElement.style.background = '#00000066'
7373
}
74+
document.body.parentElement.setAttribute('platform', env.PLATFORM);
7475

7576
Window.this.isResizable = true;
7677
window.isMaximizable = true;

0 commit comments

Comments
 (0)