mirror of
https://github.com/clash-verge-rev/clash-verge-rev
synced 2025-05-05 20:43:43 +08:00
feat: use decorations in Linux, close #354
This commit is contained in:
parent
829361d767
commit
9b89333b1b
@ -98,8 +98,8 @@ pub fn create_window(app_handle: &AppHandle) {
|
||||
|
||||
#[cfg(target_os = "linux")]
|
||||
crate::log_err!(builder
|
||||
.decorations(false)
|
||||
.transparent(true)
|
||||
.inner_size(800.0, 636.0)
|
||||
.decorations(true)
|
||||
.transparent(false)
|
||||
.inner_size(800.0, 642.0)
|
||||
.build());
|
||||
}
|
||||
|
@ -130,7 +130,7 @@ const Layout = () => {
|
||||
</div>
|
||||
|
||||
<div className="layout__right" data-windrag>
|
||||
{OS !== "macos" && (
|
||||
{OS === "windows" && (
|
||||
<div className="the-bar">
|
||||
<LayoutControl />
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user