c-frame / aframe-gltf-model-plus

gltf-model-plus component to load glb file with hubs extensions
https://c-frame.github.io/aframe-gltf-model-plus/
Mozilla Public License 2.0
12 stars 5 forks source link

alt-w to show the clickable waypoints does not work on the mac #25

Closed uhunkler closed 8 months ago

uhunkler commented 8 months ago

I checked the playground scene and noticed, that alt+w to show the clickable waypoints does not work on the mac, alt-w just moves forward.

vincentfretin commented 8 months ago

It's a different key combination, see https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/accesskey

vincentfretin commented 8 months ago

but it was just a quick example, I should create an example of a proper aframe component to handle a specific key here

vincentfretin commented 8 months ago

I added a simple shortcuts component in https://github.com/c-frame/aframe-gltf-model-plus/commit/b72a1e25ea9045644bf8b704a91094d361a7fcfb that handle the space key to toggle the clickable waypoints.