mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-22 05:12:27 +00:00
Compare commits
13 Commits
031204510d
...
7ab2cf7277
Author | SHA1 | Date | |
---|---|---|---|
|
7ab2cf7277 | ||
|
7a98581421 | ||
|
80cd6e516b | ||
|
10b1f20562 | ||
|
1190892617 | ||
|
ba7821b979 | ||
|
2cd10bf4ce | ||
|
6292c5cd4e | ||
|
9bd893849f | ||
|
78660f5471 | ||
|
d33944197f | ||
|
c789c46816 | ||
|
cf2c96a4ad |
|
@ -91,10 +91,6 @@ impl FloatContent for ConfirmPrompt {
|
|||
self.status = ConfirmStatus::Confirm;
|
||||
true
|
||||
}
|
||||
MouseEventKind::Down(MouseButton::Right) => {
|
||||
self.status = ConfirmStatus::Abort;
|
||||
false
|
||||
}
|
||||
MouseEventKind::ScrollDown => {
|
||||
self.scroll_down();
|
||||
false
|
||||
|
|
|
@ -56,10 +56,7 @@ impl<Content: FloatContent + ?Sized> Float<Content> {
|
|||
|
||||
pub fn handle_mouse_event(&mut self, event: &MouseEvent) -> bool {
|
||||
match event.kind {
|
||||
MouseEventKind::Down(MouseButton::Right) => {
|
||||
self.content.handle_mouse_event(event);
|
||||
true
|
||||
}
|
||||
MouseEventKind::Down(MouseButton::Right) => true,
|
||||
_ => self.content.handle_mouse_event(event),
|
||||
}
|
||||
}
|
||||
|
|
|
@ -519,7 +519,6 @@ impl AppState {
|
|||
ConfirmStatus::None => {}
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
_ => {}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user