Clippy
This commit is contained in:
parent
91cdf69924
commit
7622ba09ee
3 changed files with 6 additions and 5 deletions
|
@ -19,10 +19,10 @@ use file_icons::FileIcons;
|
|||
use fs::Fs;
|
||||
use gpui::{
|
||||
Action, Animation, AnimationExt, App, BorderStyle, ClickEvent, ClipboardItem, EdgesRefinement,
|
||||
Empty, Entity, FocusHandle, Focusable, Hsla, Length, ListOffset, ListState, MouseButton,
|
||||
PlatformDisplay, SharedString, Stateful, StyleRefinement, Subscription, Task, TextStyle,
|
||||
TextStyleRefinement, Transformation, UnderlineStyle, WeakEntity, Window, WindowHandle, div,
|
||||
linear_color_stop, linear_gradient, list, percentage, point, prelude::*, pulsating_between,
|
||||
Empty, Entity, FocusHandle, Focusable, Hsla, Length, ListOffset, ListState, PlatformDisplay,
|
||||
SharedString, StyleRefinement, Subscription, Task, TextStyle, TextStyleRefinement,
|
||||
Transformation, UnderlineStyle, WeakEntity, Window, WindowHandle, div, linear_color_stop,
|
||||
linear_gradient, list, percentage, point, prelude::*, pulsating_between,
|
||||
};
|
||||
use language::Buffer;
|
||||
use markdown::{HeadingLevelStyles, Markdown, MarkdownElement, MarkdownStyle};
|
||||
|
|
|
@ -266,6 +266,7 @@ impl MemoryView {
|
|||
}
|
||||
}
|
||||
|
||||
#[allow(unused)]
|
||||
fn handle_scroll_drag(&mut self, evt: &DragMoveEvent<()>) -> bool {
|
||||
// todo!
|
||||
// if !self.scroll_state.is_dragging() {
|
||||
|
|
|
@ -357,7 +357,7 @@ impl<S: ScrollbarVisibilitySetting> Scrollbars<S> {
|
|||
id: None,
|
||||
tracked_setting: PhantomData,
|
||||
handle_was_added: false,
|
||||
scrollable_handle: Box::new(|| ScrollHandle::new()),
|
||||
scrollable_handle: Box::new(ScrollHandle::new),
|
||||
tracked_entity_id: None,
|
||||
visibility: show_along.apply_to(Default::default(), ReservedSpace::Thumb),
|
||||
scrollbar_width: ScrollbarWidth::Normal,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue