From fd54b66777b85bb67921dd2012780a1d601ea8c3 Mon Sep 17 00:00:00 2001 From: johnshaughnessy <johnfshaughnessy@gmail.com> Date: Tue, 13 Nov 2018 16:36:12 -0800 Subject: [PATCH] Stop propagation of stretch-start/stretch-end on ui --- src/hub.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/hub.html b/src/hub.html index 4e71703ce..29584d473 100644 --- a/src/hub.html +++ b/src/hub.html @@ -189,7 +189,7 @@ emit-state-change__ungrabbed="state: grabbed; transform: falling; event: ungrabbed;" emit-state-change__pinned="state: pinned; transform: rising; event: pinned;" > - <a-entity class="ui interactable-ui" stop-event-propagation__grab-start="event: grab-start" stop-event-propagation__grab-end="event: grab-end"> + <a-entity class="ui interactable-ui" stop-event-propagation__grab-start="event: grab-start" stop-event-propagation__grab-end="event: grab-end" stop-event-propagation__stretch-start="event: stretch-start" stop-event-propagation__stretch-end="event: stretch-end"> <a-entity class="freeze-menu" visible-while-frozen="withinDistance: 10;"> <a-entity mixin="rounded-text-action-button" pin-networked-object-button="labelSelector:.pin-button-label; hideWhenPinnedSelector:.hide-when-pinned;" position="0 0.125 0.01"> </a-entity> <a-entity class="pin-button-label" text=" value:pin; width:1.75; align:center;" text-raycast-hack position="0 0.125 0.02"></a-entity> @@ -230,7 +230,7 @@ segments-width="16" segments-height="12" ></a-sphere> - <a-entity class="ui delete-button" visible-while-frozen="withinDistance: 10;"> + <a-entity class="ui delete-button" visible-while-frozen="withinDistance: 10;" stop-event-propagation__grab-start="event: grab-start" stop-event-propagation__grab-end="event: grab-end" stop-event-propagation__stretch-start="event: stretch-start" stop-event-propagation__stretch-end="event: stretch-end"> <a-entity mixin="rounded-text-button" remove-networked-object-button position="0 0 0"> </a-entity> <a-entity text=" value:remove; width:2.5; align:center;" text-raycast-hack position="0 0 0.01"></a-entity> </a-entity> @@ -254,7 +254,7 @@ set-yxz-order auto-scale-cannon-physics-body > - <a-entity class="ui delete-button" visible-while-frozen="withinDistance: 10;"> + <a-entity class="ui delete-button" visible-while-frozen="withinDistance: 10;" stop-event-propagation__grab-start="event: grab-start" stop-event-propagation__grab-end="event: grab-end" stop-event-propagation__stretch-start="event: stretch-start" stop-event-propagation__stretch-end="event: stretch-end"> <a-entity mixin="rounded-text-button" remove-networked-object-button position="0 0 0"> </a-entity> <a-entity text=" value:remove; width:2.5; align:center;" text-raycast-hack position="0 0 0.01"></a-entity> </a-entity> -- GitLab