Skip to content

Commit

Permalink
feat: use decorations in Linux, close libnyanpasu#354
Browse files Browse the repository at this point in the history
  • Loading branch information
zzzgydi committed Jan 11, 2023
1 parent e7f294a commit fb7a36e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src-tauri/src/utils/resolve.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}
2 changes: 1 addition & 1 deletion src/pages/_layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ const Layout = () => {
</div>

<div className="layout__right" data-windrag>
{OS !== "macos" && (
{OS === "windows" && (
<div className="the-bar">
<LayoutControl />
</div>
Expand Down

0 comments on commit fb7a36e

Please sign in to comment.