Thinkofname / ThinkMap

A 3D web based mapviewer for Minecraft/Bukkit
http://www.spigotmc.org/resources/thinkmap.413/
Apache License 2.0
62 stars 15 forks source link

Does not capture mouse pointer in Mac OS X Safari #90

Closed CraftedFury closed 10 years ago

CraftedFury commented 10 years ago

When viewing the map viewer in safari (on the port) the following error is given:

[Error] TypeError: 'undefined' is not a function (evaluating 'target[mapviewer_js_Utils.setPointerPrefix("requestPointerLock")]()')
    requestPointerLock (main.js, line 2484)
    onclick (main.js, line 3014)

Basically, it fails to capture the mouse pointer in Safari.

I suggest adding trackpad gesture support so that if you click down using one (or more) finger(s) and drag, you can rotate the viewpoint, instead of relying on capturing the mouse pointer.

deathcap commented 10 years ago

On e314cf161b8b392e88371ae180396247c9fe2e96 this error no longer occurs (tested on Safari 7), but pointer lock is not acquired either.

Thinkofname commented 10 years ago

As the error is fixed this is no longer a ThinkMap issue but a safari issue