mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
fixed mouse-event-type mixup
This commit is contained in:
parent
a296e386af
commit
072151d28d
1 changed files with 2 additions and 2 deletions
|
@ -168,8 +168,8 @@ impl FireMouseEventType {
|
||||||
pub fn as_str(&self) -> &str {
|
pub fn as_str(&self) -> &str {
|
||||||
match self {
|
match self {
|
||||||
&FireMouseEventType::Move => "mousemove",
|
&FireMouseEventType::Move => "mousemove",
|
||||||
&FireMouseEventType::Over => "mouseout",
|
&FireMouseEventType::Over => "mouseover",
|
||||||
&FireMouseEventType::Out => "mouseover",
|
&FireMouseEventType::Out => "mouseout",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue