From dff5a8936bdbf366707d835337f14c47cab02c18 Mon Sep 17 00:00:00 2001 From: netpro2k <netpro2k@gmail.com> Date: Tue, 24 Apr 2018 18:51:39 -0700 Subject: [PATCH] Change wording on bubble bubton --- src/hub.html | 6 +++--- src/react-components/2d-hud.js | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/hub.html b/src/hub.html index f44e8e442..9766cabeb 100644 --- a/src/hub.html +++ b/src/hub.html @@ -236,9 +236,9 @@ <a-rounded height="0.13" width="0.48" color="#000000" position="-0.24 -0.065 0" radius="0.065" opacity="0.35" class="hud bg"></a-rounded> <a-image icon-button="tooltip: #hud-tooltip; tooltipText: Mute Mic; activeTooltipText: Unmute Mic; image: #mute-off; hoverImage: #mute-off-hover; activeImage: #mute-on; activeHoverImage: #mute-on-hover" scale="0.1 0.1 0.1" position="-0.17 0 0.001" class="ui hud mic" material="alphaTest:0.1;"></a-image> <a-image icon-button="tooltip: #hud-tooltip; tooltipText: Pause; activeTooltipText: Resume; image: #freeze-off; hoverImage: #freeze-off-hover; activeImage: #freeze-on; activeHoverImage: #freeze-on-hover" scale="0.2 0.2 0.2" position="0 0 0.005" class="ui hud freeze"></a-image> - <a-image icon-button="tooltip: #hud-tooltip; tooltipText: Bubble On; activeTooltipText: Bubble Off; image: #bubble-off; hoverImage: #bubble-off-hover; activeImage: #bubble-on; activeHoverImage: #bubble-on-hover" scale="0.1 0.1 0.1" position="0.17 0 0.001" class="ui hud bubble" material="alphaTest:0.1;"></a-image> - <a-rounded visible="false" id="hud-tooltip" height="0.08" width="0.28" color="#000000" position="-0.15 -0.2 0" rotation="-20 0 0" radius="0.025" opacity="0.35" class="hud bg"> - <a-entity text="value: Mute Mic; align:center;" position="0.14 0.04 0.001" ></a-entity> + <a-image icon-button="tooltip: #hud-tooltip; tooltipText: Enable Bubble; activeTooltipText: Disable Bubble; image: #bubble-off; hoverImage: #bubble-off-hover; activeImage: #bubble-on; activeHoverImage: #bubble-on-hover" scale="0.1 0.1 0.1" position="0.17 0 0.001" class="ui hud bubble" material="alphaTest:0.1;"></a-image> + <a-rounded visible="false" id="hud-tooltip" height="0.08" width="0.3" color="#000000" position="-0.15 -0.2 0" rotation="-20 0 0" radius="0.025" opacity="0.35" class="hud bg"> + <a-entity text="value: Mute Mic; align:center;" position="0.15 0.04 0.001" ></a-entity> </a-rounded> </a-entity> </a-entity> diff --git a/src/react-components/2d-hud.js b/src/react-components/2d-hud.js index 7bf6e2b7c..141606a83 100644 --- a/src/react-components/2d-hud.js +++ b/src/react-components/2d-hud.js @@ -21,7 +21,7 @@ const TwoDHUD = ({ muted, frozen, spacebubble, onToggleMute, onToggleFreeze, onT <div className={cx("ui-interactive", styles.panel, styles.right)}> <div className={cx(styles.iconButton, styles.bubble, { [styles.active]: spacebubble })} - title={spacebubble ? "Bubble Off" : "Bubble On"} + title={spacebubble ? "Disable Bubble" : "Enable Bubble"} onClick={onToggleSpaceBubble} /> </div> -- GitLab