Chromium Code Reviews

Issue 218002: Fixing bug #152 (pressing "T" doens't leave a trail in the particle samples o...

Created:
11 years, 3 months ago by vangelis
Modified:
11 years, 3 months ago
Reviewers:
apatrick
CC:
o3d-review_googlegroups.com
Visibility:
Public.

Description

Fixing bug #152 (pressing "T" doens't leave a trail in the particle samples only in Chrome). The problem had to do with the translation of the key codes. There's another issue that surfaced with the event.js code in IE when the events are handled by methods running in V8. In that situation it appears that event.keyIdentifier isn't actually a string and IE barfs when we call keyIdent.indexOf(). I added a check to make sure it's a string but I don't know if the fix really belongs somewhere in the V8 / IE bridge

Patch Set 1 #

Unified diffs Side-by-side diffs Stats (+6 lines, -6 lines)
M samples/o3djs/event.js View 3 chunks +4 lines, -4 lines 0 comments
M samples/particles.html View 1 chunk +2 lines, -2 lines 0 comments

Messages

Total messages: 2 (0 generated)
vangelis
11 years, 3 months ago (2009-09-23 01:35:22 UTC) #1
apatrick
11 years, 3 months ago (2009-09-23 02:27:17 UTC) #2
LGTM for now. I'll investigate the V8 bridge tomorrow.

Powered by Google App Engine