feat: use decorations in Linux, close #354
This commit is contained in:
parent
e7f294a065
commit
fb7a36eb73
@ -98,8 +98,8 @@ pub fn create_window(app_handle: &AppHandle) {
|
|||||||
|
|
||||||
#[cfg(target_os = "linux")]
|
#[cfg(target_os = "linux")]
|
||||||
crate::log_err!(builder
|
crate::log_err!(builder
|
||||||
.decorations(false)
|
.decorations(true)
|
||||||
.transparent(true)
|
.transparent(false)
|
||||||
.inner_size(800.0, 636.0)
|
.inner_size(800.0, 642.0)
|
||||||
.build());
|
.build());
|
||||||
}
|
}
|
||||||
|
@ -130,7 +130,7 @@ const Layout = () => {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="layout__right" data-windrag>
|
<div className="layout__right" data-windrag>
|
||||||
{OS !== "macos" && (
|
{OS === "windows" && (
|
||||||
<div className="the-bar">
|
<div className="the-bar">
|
||||||
<LayoutControl />
|
<LayoutControl />
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user