Fix for TextRelativeX in SelectSlide.
This commit is contained in:
1 parent
9db2d63026
commit
eead8b6c8f
1 file changed
+2
-2
@@ -743,8 +743,8 @@ namespace Vocaluxe.Menu
|
|||||||
if (_NumVisible < 1 || _ValueNames.Count == 0)
|
if (_NumVisible < 1 || _ValueNames.Count == 0)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
float x = Rect.X + Rect.W * 0.1f;
|
float x = Rect.X + (Rect.W - TextRelativeX) * 0.1f;
|
||||||
float dx = Rect.W * 0.8f / _NumVisible;
|
float dx = (Rect.W - TextRelativeX) * 0.8f / _NumVisible;
|
||||||
//float y = Rect.Y + (Rect.H - TextH);
|
//float y = Rect.Y + (Rect.H - TextH);
|
||||||
|
|
||||||
int offset = _Selection - (int)_NumVisible/2;
|
int offset = _Selection - (int)_NumVisible/2;
|
||||||
|
|||||||
Reference in new issue
Block a user