Fix for TextRelativeX in SelectSlide.

This commit is contained in:
Florian Kuepper committed 2012-12-08 17:32:15 +01:00
1 parent 9db2d63026
commit eead8b6c8f
1 file changed
+2 -2
+2 -2
View File
@@ -743,8 +743,8 @@ namespace Vocaluxe.Menu
if (_NumVisible < 1 || _ValueNames.Count == 0)
return;
float x = Rect.X + Rect.W * 0.1f;
float dx = Rect.W * 0.8f / _NumVisible;
float x = Rect.X + (Rect.W - TextRelativeX) * 0.1f;
float dx = (Rect.W - TextRelativeX) * 0.8f / _NumVisible;
//float y = Rect.Y + (Rect.H - TextH);
int offset = _Selection - (int)_NumVisible/2;