chore: bump gpui-pre to 0.3.8 and clean up unused code

This commit is contained in:
2026-10-06 21:04:20 +07:00
parent 3ada21b728
commit 33785f183d
62 changed files with 162 additions and 3516 deletions
+1 -2
View File
@@ -7,7 +7,7 @@ use gpui::{
use smallvec::SmallVec;
use theme::ActiveTheme;
use crate::{h_flex, Disableable, StyledExt};
use crate::{Disableable, StyledExt, h_flex};
#[derive(IntoElement)]
pub(crate) struct MenuItemElement {
@@ -61,7 +61,6 @@ impl MenuItemElement {
}
/// Set a handler for when the mouse enters the MenuItem.
#[allow(unused)]
pub fn on_hover(mut self, handler: impl Fn(&bool, &mut Window, &mut App) + 'static) -> Self {
self.on_hover = Some(Box::new(handler));
self