Skip to content
Snippets Groups Projects
Commit fd54b667 authored by johnshaughnessy's avatar johnshaughnessy
Browse files

Stop propagation of stretch-start/stretch-end on ui

parent cdd82fee
No related branches found
No related tags found
No related merge requests found
...@@ -189,7 +189,7 @@ ...@@ -189,7 +189,7 @@
emit-state-change__ungrabbed="state: grabbed; transform: falling; event: ungrabbed;" emit-state-change__ungrabbed="state: grabbed; transform: falling; event: ungrabbed;"
emit-state-change__pinned="state: pinned; transform: rising; event: pinned;" 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 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 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> <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 @@ ...@@ -230,7 +230,7 @@
segments-width="16" segments-width="16"
segments-height="12" segments-height="12"
></a-sphere> ></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 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 text=" value:remove; width:2.5; align:center;" text-raycast-hack position="0 0 0.01"></a-entity>
</a-entity> </a-entity>
...@@ -254,7 +254,7 @@ ...@@ -254,7 +254,7 @@
set-yxz-order set-yxz-order
auto-scale-cannon-physics-body 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 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 text=" value:remove; width:2.5; align:center;" text-raycast-hack position="0 0 0.01"></a-entity>
</a-entity> </a-entity>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment