Improved scaling of scrollingText for different resolutions.

This commit is contained in:
Pieter Hulshoff 2016-07-23 09:33:37 +02:00
parent 7aa78daf7c
commit a3318ee1d5

View File

@ -297,7 +297,7 @@ void ScrollingText::draw( )
imageMaxHeight = baseViewInfo.MaxHeight;
}
float scale = (float)baseViewInfo.FontSize / (float)font->getHeight( );
float scale = (float)baseViewInfo.FontSize / (float)font->getHeight( ) / scaleY_;
float xOrigin = baseViewInfo.XRelativeToOrigin( );
float yOrigin = baseViewInfo.YRelativeToOrigin( );