Sie sind nicht angemeldet.

360boy

Fortgeschrittener

  • »360boy« ist der Autor dieses Themas

Beiträge: 249

Wohnort: Mexico City

Beruf: Virtual tours, Krpano coding, Graphic Design, Photographer, Panographer

  • Nachricht senden

1

Donnerstag, 7. Juni 2018, 15:58

WebVR cursor, disable ONCLICK but keep ONOVER & ONOUT

Hello!
Is there a way to disable the onclick event on a hotspot layer for the gaze cursor in WebVR mode, while preserving the onover & onout events?
I need this functionality for my interface avoiding to have the "activation" of the onclick event which is shown simultaneously with ONOVER but doesn't trigger anything as there's no onclick event asociated to hotspot.
Thanks! *thumbup*

Luis

360boy

Fortgeschrittener

  • »360boy« ist der Autor dieses Themas

Beiträge: 249

Wohnort: Mexico City

Beruf: Virtual tours, Krpano coding, Graphic Design, Photographer, Panographer

  • Nachricht senden

2

Donnerstag, 7. Juni 2018, 16:18

EDIT: Just found it, it's just setting hotspot's handcursor="false" (), strange way but it works.
Klaus, don't you think it would be better to disable the vr_auto_click(); if onclick is null? I find confusing this way to disable it.
Best *thumbup*

Luis