Fixing warnings in StereoKitTest
@@ -125,13 +125,13 @@ class DemoMicrophone : ITest
float scale = 0.1f + 0.06f * intensity;
Color color = new Color(1,1,1, Math.Max(0.1f, intensity));
Default.MeshSphere.Draw(micMaterial, Matrix.TS(0,0,-0.5f, scale), color);
- micSprite.Draw(Matrix.TS(-0.03f,0.03f,-0.5f, 0.06f));
+ micSprite.Draw(Matrix.TS(0,0,-0.5f, 0.06f), TextAlign.Center);
}
else
{
// Draw it in red if we're not recording
Default.MeshSphere.Draw(micMaterial, Matrix.TS(0, 0, -0.5f, 0.1f), new Color(1,0,0,0.1f));
- micSprite.Draw(Matrix.TS(-0.03f, 0.03f, -0.5f, 0.06f));
+ micSprite.Draw(Matrix.TS(0,0,-0.5f,0.06f), TextAlign.Center);
}
Text.Add(title, titlePose);
