Add back semi-funcitonal pane resizing code
This commit is contained in:
parent
25df11dd26
commit
fd34d1da31
10 changed files with 299 additions and 108 deletions
|
@ -131,6 +131,12 @@ pub struct MouseMoveEvent {
|
|||
pub modifiers: Modifiers,
|
||||
}
|
||||
|
||||
impl MouseMoveEvent {
|
||||
pub fn dragging(&self) -> bool {
|
||||
self.pressed_button == Some(MouseButton::Left)
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug)]
|
||||
pub struct ScrollWheelEvent {
|
||||
pub position: Point<Pixels>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue