This commit refactors shiftKey to shift_key where possible.

This commit is contained in:
Arthur Marble 2016-09-17 01:20:51 -05:00
parent 77170a14bc
commit fd0622a741
6 changed files with 10 additions and 10 deletions

View file

@ -64,7 +64,7 @@ impl TouchEvent {
target_touches: &TouchList,
ctrl_key: bool,
altKey: bool,
shiftKey: bool,
shift_key: bool,
metaKey: bool) -> Root<TouchEvent> {
let ev = TouchEvent::new_uninitialized(window, touches, changed_touches, target_touches);
ev.upcast::<UIEvent>().InitUIEvent(type_,
@ -73,7 +73,7 @@ impl TouchEvent {
view, detail);
ev.ctrl_key.set(ctrl_key);
ev.alt_key.set(altKey);
ev.shift_key.set(shiftKey);
ev.shift_key.set(shift_key);
ev.meta_key.set(metaKey);
ev
}