Skip to content

Commit

Permalink
fix text align & size on media share buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
wmurphyrd committed Jun 17, 2022
1 parent 4cb4d0b commit b1b5682
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/hub.html
Original file line number Diff line number Diff line change
Expand Up @@ -848,7 +848,7 @@
></a-entity>
<a-entity immers-visible-if-permitted="creative">
<a-entity mixin="rounded-share-text-action-button ui" is-remote-hover-target tags="singleActionButton: true; isHoverMenuChild: true;" immers-share-button="public" visibility-on-content-types="contentTypes: video/mp4; contentSubtype: video-camera; visible: true;" position="-0.23 0.285 0.001">
<a-entity text="value:share\npublicly; maxWidth:1.25; textAlign:center;" text-raycast-hack position="0.05 0 0.02"></a-entity>
<a-entity text="value:share\npublicly; maxWidth:1.15; textAlign:center; fontSize:0.06;" text-raycast-hack position="0.05 0 0.02"></a-entity>
<a-entity
sprite
icon-button="image: immers-action.png; hoverImage: immers-action.png;"
Expand All @@ -857,7 +857,7 @@
></a-entity>
</a-entity>
<a-entity mixin="rounded-share-text-action-button ui" is-remote-hover-target tags="singleActionButton: true; isHoverMenuChild: true;" immers-share-button="friends" visibility-on-content-types="contentTypes: video/mp4; contentSubtype: video-camera; visible: true;" position="0.23 0.285 0.001">
<a-entity text="value:share\nwith friends; maxWidth:1.25; textAlign:center;" text-raycast-hack position="0.05 0 0.02"></a-entity>
<a-entity text="value:share\nw/ friends; maxWidth:1.15; textAlign:center; fontSize:0.06;" text-raycast-hack position="0.05 0 0.02"></a-entity>
<a-entity
sprite
icon-button="image: immers-action.png; hoverImage: immers-action.png;"
Expand Down Expand Up @@ -956,7 +956,7 @@
<a-entity class="ui interactable-ui hover-container" visible="false">
<a-entity immers-visible-if-permitted="creative">
<a-entity mixin="rounded-share-text-action-button ui" is-remote-hover-target tags="singleActionButton: true; isHoverMenuChild: true;" immers-share-button="public" position="-0.23 0.285 0.001">
<a-entity text="value:share\npublicly; maxWidth:1.25; textAlign:center;" text-raycast-hack position="0.05 0 0.02"></a-entity>
<a-entity text="value:share\npublicly; maxWidth:1.15; textAlign:center; fontSize:0.06;" text-raycast-hack position="0.05 0 0.02"></a-entity>
<a-entity
sprite
icon-button="image: immers-action.png; hoverImage: immers-action.png;"
Expand All @@ -965,7 +965,7 @@
></a-entity>
</a-entity>
<a-entity mixin="rounded-share-text-action-button ui" is-remote-hover-target tags="singleActionButton: true; isHoverMenuChild: true;" immers-share-button="friends" position="0.23 0.285 0.001">
<a-entity text=" value:share\nwith friends; width:1.25; align:center;" text-raycast-hack position="0.05 0 0.02"></a-entity>
<a-entity text=" value:share\nw/ friends; maxWidth:1.15; textAlign:center; fontSize:0.06;" text-raycast-hack position="0.05 0 0.02"></a-entity>
<a-entity
sprite
icon-button="image: immers-action.png; hoverImage: immers-action.png;"
Expand Down

0 comments on commit b1b5682

Please sign in to comment.