Skip to content

Commit aaca230

Browse files
committed
Add missing MouseEvent::down
Not sure why we forgot this one
1 parent 9c1d508 commit aaca230

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lighthouse-protocol/src/input/mouse_event.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ use super::{EventSource, MouseButton};
1010
pub struct MouseEvent {
1111
/// The client identifier.
1212
pub source: EventSource,
13+
/// Whether the button was pressed.
14+
pub down: bool,
1315
/// The mouse button.
1416
pub button: MouseButton,
1517
/// The mouse position on the lighthouse grid.

0 commit comments

Comments
 (0)