fixed text width test in screen credits
This commit is contained in:
1 parent
3520545138
commit
3b40111a1e
1 file changed
+1
-1
@@ -259,7 +259,7 @@ namespace Vocaluxe.Screens
|
|||||||
{
|
{
|
||||||
string newline = line + " " + paragraphs[i][e];
|
string newline = line + " " + paragraphs[i][e];
|
||||||
CText text = new CText(75, lastY, -2, 30, -1, EAlignment.Left, EStyle.Bold, "Outline", new SColorF(1, 1, 1, 1), line);
|
CText text = new CText(75, lastY, -2, 30, -1, EAlignment.Left, EStyle.Bold, "Outline", new SColorF(1, 1, 1, 1), line);
|
||||||
if (CDraw.GetTextBounds(text).Width < (CSettings.iRenderW - 200))
|
if (CDraw.GetTextBounds(text).Width < (CSettings.iRenderW - 220))
|
||||||
{
|
{
|
||||||
line = line + " " + paragraphs[i][e];
|
line = line + " " + paragraphs[i][e];
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user