update dock
This commit is contained in:
@@ -133,8 +133,6 @@ impl RenderOnce for ControlIcon {
|
||||
}
|
||||
}
|
||||
|
||||
/// Render the window control buttons, or an empty placeholder on macOS (the
|
||||
/// traffic lights are drawn natively).
|
||||
pub(crate) fn window_controls(window: &mut Window, cx: &mut App) -> impl IntoElement {
|
||||
if cfg!(target_os = "macos") || cfg!(target_family = "wasm") {
|
||||
return div().id("window-controls");
|
||||
|
||||
Reference in New Issue
Block a user