Skip to content

Commit

Permalink
Merge pull request #1993 from WEKIT-ECS/generate-audio-caption
Browse files Browse the repository at this point in the history
Fixing the caption margins
  • Loading branch information
fwild authored May 23, 2024
2 parents 3d8141c + d3cc5ab commit 2af1b0a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
10 changes: 3 additions & 7 deletions Assets/MirageXR/ContentTypes/Audio/AudioPrefab.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ Transform:
- {fileID: 5176807353210458408}
- {fileID: 2498868686428852291}
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &114120278261795478
MonoBehaviour:
Expand All @@ -58,8 +57,6 @@ MonoBehaviour:
_captionObj: {fileID: 7227482907134956261}
pauseIcon: {fileID: 21300000, guid: cd755636f7ffbe7468ceb55a73896fd7, type: 3}
iconImage: {fileID: 8838812575601077682}
isReady: 0
isPlaying: 0
--- !u!114 &214334256209312219
MonoBehaviour:
m_ObjectHideFlags: 0
Expand Down Expand Up @@ -203,7 +200,6 @@ Transform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 4195733794599604}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!212 &8838812575601077682
SpriteRenderer:
Expand Down Expand Up @@ -291,7 +287,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 0}
m_AnchorMax: {x: 1, y: 0}
m_AnchoredPosition: {x: 87, y: 50}
m_AnchoredPosition: {x: 57, y: 50}
m_SizeDelta: {x: 100, y: 100}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &288978258790758556
Expand Down Expand Up @@ -720,7 +716,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 0
m_IsActive: 1
--- !u!224 &7913402268262665108
RectTransform:
m_ObjectHideFlags: 0
Expand All @@ -739,7 +735,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 286.56998, y: 403}
m_AnchoredPosition: {x: 316, y: 403}
m_SizeDelta: {x: 573.14, y: 100}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &1277433543734499426
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ public override void Initialization(Action<PopupBase> onClose, params object[] a

private static void LoadKeysFromEnvFile(out string apiKey, out string serviceUrl)
{
const string ibmFileName = "caption-ibm-credentials";
const string ibmFileName = "ibm-credentials";
const string speechToTextApikey = "SPEECH_TO_TEXT_IAM_APIKEY";
const string speechToTextURL = "SPEECH_TO_TEXT_URL";

Expand Down

0 comments on commit 2af1b0a

Please sign in to comment.