| Index: sky/engine/core/events/KeyboardEvent.cpp
|
| diff --git a/sky/engine/core/events/KeyboardEvent.cpp b/sky/engine/core/events/KeyboardEvent.cpp
|
| index dde48ac3facccfae9d19222e14fb758685799d25..08dbe7174f78964ddf63bd1e15ee4279aadd60eb 100644
|
| --- a/sky/engine/core/events/KeyboardEvent.cpp
|
| +++ b/sky/engine/core/events/KeyboardEvent.cpp
|
| @@ -60,6 +60,8 @@ KeyboardEvent::KeyboardEvent(const WebKeyboardEvent& event)
|
| , m_metaKey(event.modifiers & WebInputEvent::MetaKey)
|
| , m_repeat(event.modifiers & WebInputEvent::IsAutoRepeat)
|
| {
|
| + m_timeStamp = event.timeStampMS;
|
| +
|
| if (event.type == WebInputEvent::KeyDown || event.type == WebInputEvent::KeyUp) {
|
| m_charCode = 0;
|
| } else if (event.type == WebInputEvent::Char) {
|
|
|