Skip to content

[Easy-fix] Bad MouseWheel event context makes markers disrupt wheel events #32

@GoogleCodeExporter

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1. Open the WebGL earth Markers.html example
2. Try to scroll-zoom the globe while hovering on a marker
3. Quietly weep.

What is the expected output? What do you see instead?
Markers shouldn't prevent mousewheel zooming.

Please provide any additional information below.
we/ui/mousezoomer.js line 78 
(https://github.com/webglearth/webglearth/blob/master/we/ui/mousezoomer.js#L78)
Event context should be containing div and not canvas because markers in 
overlay divs are disrupting mouse events.

Original issue reported on code.google.com by [email protected] on 30 Nov 2012 at 1:34

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions