mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Auto merge of #18990 - mhaessig:mouse-event-fixup, r=KiChjang
Fixed FireMouseEventType mixup Fix for a bug I didn't catch in #18957. Thanks to @rharel for pointing it out. - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix issue #18943 and bug in PR #18957 - [X] These changes do not require tests as specified in #18943 r?@jdm <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/18990) <!-- Reviewable:end -->
This commit is contained in:
commit
d9ede4dc05
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