This commit refactors altKey to alt_key when possible.

This commit is contained in:
Arthur Marble 2016-09-17 01:26:55 -05:00
parent fd0622a741
commit bdbc04409d
6 changed files with 10 additions and 10 deletions

View file

@ -63,7 +63,7 @@ impl TouchEvent {
changed_touches: &TouchList,
target_touches: &TouchList,
ctrl_key: bool,
altKey: bool,
alt_key: bool,
shift_key: bool,
metaKey: bool) -> Root<TouchEvent> {
let ev = TouchEvent::new_uninitialized(window, touches, changed_touches, target_touches);
@ -72,7 +72,7 @@ impl TouchEvent {
bool::from(cancelable),
view, detail);
ev.ctrl_key.set(ctrl_key);
ev.alt_key.set(altKey);
ev.alt_key.set(alt_key);
ev.shift_key.set(shift_key);
ev.meta_key.set(metaKey);
ev