mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
This commit refactors shiftKey to shift_key where possible.
This commit is contained in:
parent
77170a14bc
commit
fd0622a741
6 changed files with 10 additions and 10 deletions
|
@ -63,7 +63,7 @@ pub enum ActivationSource {
|
|||
// https://html.spec.whatwg.org/multipage/#run-synthetic-click-activation-steps
|
||||
pub fn synthetic_click_activation(element: &Element,
|
||||
ctrl_key: bool,
|
||||
shiftKey: bool,
|
||||
shift_key: bool,
|
||||
altKey: bool,
|
||||
metaKey: bool,
|
||||
source: ActivationSource) {
|
||||
|
@ -94,7 +94,7 @@ pub fn synthetic_click_activation(element: &Element,
|
|||
0,
|
||||
0,
|
||||
ctrl_key,
|
||||
shiftKey,
|
||||
shift_key,
|
||||
altKey,
|
||||
metaKey,
|
||||
0,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue