mirror of https://github.com/stella-emu/stella.git
Revert "add one more intermediate font option to ROM info viewer"
This reverts commit 2646934596
.
Now the correct file. :)
This commit is contained in:
parent
2646934596
commit
6b59190582
|
@ -374,6 +374,10 @@ const GUI::Font& LauncherDialog::getRomInfoFont(const Common::Size& area) const
|
||||||
+ MIN_ROMINFO_LINES * instance().frameBuffer().launcherFont().getFontHeight())
|
+ MIN_ROMINFO_LINES * instance().frameBuffer().launcherFont().getFontHeight())
|
||||||
&& area.w >= uInt32(MIN_ROMINFO_CHARS * instance().frameBuffer().launcherFont().getMaxCharWidth()))
|
&& area.w >= uInt32(MIN_ROMINFO_CHARS * instance().frameBuffer().launcherFont().getMaxCharWidth()))
|
||||||
return instance().frameBuffer().launcherFont();
|
return instance().frameBuffer().launcherFont();
|
||||||
|
else if(area.h >= uInt32(MIN_ROMINFO_ROWS * instance().frameBuffer().font().getLineHeight()
|
||||||
|
+ MIN_ROMINFO_LINES * instance().frameBuffer().font().getFontHeight())
|
||||||
|
&& area.w >= uInt32(MIN_ROMINFO_CHARS * instance().frameBuffer().font().getMaxCharWidth()))
|
||||||
|
return instance().frameBuffer().font();
|
||||||
else if(area.h >= uInt32(MIN_ROMINFO_ROWS * instance().frameBuffer().infoFont().getLineHeight()
|
else if(area.h >= uInt32(MIN_ROMINFO_ROWS * instance().frameBuffer().infoFont().getLineHeight()
|
||||||
+ MIN_ROMINFO_LINES * instance().frameBuffer().infoFont().getFontHeight())
|
+ MIN_ROMINFO_LINES * instance().frameBuffer().infoFont().getFontHeight())
|
||||||
&& area.w >= uInt32(MIN_ROMINFO_CHARS * instance().frameBuffer().infoFont().getMaxCharWidth()))
|
&& area.w >= uInt32(MIN_ROMINFO_CHARS * instance().frameBuffer().infoFont().getMaxCharWidth()))
|
||||||
|
|
Loading…
Reference in New Issue