mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
This commit refactors ctrlKey to ctrl_key wherever possible.
This commit is contained in:
parent
83f687a7be
commit
77170a14bc
6 changed files with 10 additions and 10 deletions
|
@ -62,7 +62,7 @@ impl TouchEvent {
|
|||
touches: &TouchList,
|
||||
changed_touches: &TouchList,
|
||||
target_touches: &TouchList,
|
||||
ctrlKey: bool,
|
||||
ctrl_key: bool,
|
||||
altKey: bool,
|
||||
shiftKey: bool,
|
||||
metaKey: bool) -> Root<TouchEvent> {
|
||||
|
@ -71,7 +71,7 @@ impl TouchEvent {
|
|||
bool::from(canBubble),
|
||||
bool::from(cancelable),
|
||||
view, detail);
|
||||
ev.ctrl_key.set(ctrlKey);
|
||||
ev.ctrl_key.set(ctrl_key);
|
||||
ev.alt_key.set(altKey);
|
||||
ev.shift_key.set(shiftKey);
|
||||
ev.meta_key.set(metaKey);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue