chore: fix missing dep import for windows

This commit is contained in:
2026-03-04 15:59:38 +07:00
parent 80227b3ed3
commit bbf31baee5

View File

@@ -1,14 +1,12 @@
use gpui::prelude::FluentBuilder;
#[cfg(target_os = "linux")] #[cfg(target_os = "linux")]
use gpui::MouseButton; use gpui::MouseButton;
#[cfg(not(target_os = "windows"))] use gpui::prelude::FluentBuilder;
use gpui::Pixels;
use gpui::{ use gpui::{
px, AnyElement, Context, Decorations, Hsla, InteractiveElement as _, IntoElement, AnyElement, Context, Decorations, Hsla, InteractiveElement as _, IntoElement, ParentElement,
ParentElement, Render, StatefulInteractiveElement as _, Styled, Window, WindowControlArea, Pixels, Render, StatefulInteractiveElement as _, Styled, Window, WindowControlArea, px,
}; };
use smallvec::{smallvec, SmallVec}; use smallvec::{SmallVec, smallvec};
use theme::{ActiveTheme, PlatformKind, CLIENT_SIDE_DECORATION_ROUNDING}; use theme::{ActiveTheme, CLIENT_SIDE_DECORATION_ROUNDING, PlatformKind};
use ui::h_flex; use ui::h_flex;
#[cfg(target_os = "linux")] #[cfg(target_os = "linux")]