Skip to content

Commit

Permalink
UI: traffic lights position updated
Browse files Browse the repository at this point in the history
  • Loading branch information
PavelLaptev authored and gitbutler-client committed Jan 29, 2025
1 parent 448b022 commit ad96989
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions apps/desktop/src/components/ChromeHeader.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,10 @@
margin: 14px 14px 0 14px;
}
.traffic-lights-placeholder {
width: 58px;
}
.left {
display: flex;
gap: 14px;
Expand Down
4 changes: 2 additions & 2 deletions crates/gitbutler-tauri/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ fn main() {
if let Some(window) = tauri_app.get_window("main") {
#[cfg(target_os = "macos")]
// NOTE: Make sure you only call this ONCE per window.
window.setup_traffic_lights_inset(LogicalPosition::new(18.0, 22.0))?;
window.setup_traffic_lights_inset(LogicalPosition::new(16.0, 25.0))?;
};
}

Expand Down Expand Up @@ -167,7 +167,7 @@ fn main() {
#[cfg(target_os = "macos")]
// NOTE: Make sure you only call this ONCE per window.
window
.setup_traffic_lights_inset(LogicalPosition::new(20.0, 24.0))?;
.setup_traffic_lights_inset(LogicalPosition::new(16.0, 25.0))?;
};
}
}
Expand Down

0 comments on commit ad96989

Please sign in to comment.