From a3318ee1d5f17b4e4099a4df823c174b06c998ec Mon Sep 17 00:00:00 2001 From: Pieter Hulshoff Date: Sat, 23 Jul 2016 09:33:37 +0200 Subject: [PATCH] Improved scaling of scrollingText for different resolutions. --- RetroFE/Source/Graphics/Component/ScrollingText.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RetroFE/Source/Graphics/Component/ScrollingText.cpp b/RetroFE/Source/Graphics/Component/ScrollingText.cpp index 9959837..e926f03 100644 --- a/RetroFE/Source/Graphics/Component/ScrollingText.cpp +++ b/RetroFE/Source/Graphics/Component/ScrollingText.cpp @@ -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( );