mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2026-01-04 13:08:54 +01:00
Improved scaling of scrollingText for different resolutions.
This commit is contained in:
parent
7aa78daf7c
commit
a3318ee1d5
@ -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( );
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user