mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-31 04:25:40 +00:00
Reduced the help system size in the media viewer and PDF viewer
This commit is contained in:
parent
61b6fe2b33
commit
bf106711cb
|
@ -39,7 +39,7 @@ bool MediaViewer::startMediaViewer(FileData* game)
|
|||
if (mHelpInfoPosition == HelpInfoPosition::DISABLED)
|
||||
mFrameHeight = 0.0f;
|
||||
else
|
||||
mFrameHeight = Font::get(FONT_SIZE_SMALL)->getLetterHeight() * 1.8f;
|
||||
mFrameHeight = Font::get(FONT_SIZE_MINI)->getLetterHeight() * 1.9f;
|
||||
|
||||
mGame = game;
|
||||
mHasManual = (mGame->getManualPath() != "");
|
||||
|
@ -50,6 +50,7 @@ bool MediaViewer::startMediaViewer(FileData* game)
|
|||
return false;
|
||||
|
||||
HelpStyle style;
|
||||
style.font = Font::get(FONT_SIZE_MINI);
|
||||
style.origin = {0.5f, 0.5f};
|
||||
style.iconColor = 0xAAAAAAFF;
|
||||
style.textColor = 0xAAAAAAFF;
|
||||
|
|
|
@ -137,9 +137,10 @@ bool PDFViewer::startPDFViewer(FileData* game)
|
|||
if (mHelpInfoPosition == HelpInfoPosition::DISABLED)
|
||||
mFrameHeight = 0.0f;
|
||||
else
|
||||
mFrameHeight = Font::get(FONT_SIZE_SMALL)->getLetterHeight() * 1.8f;
|
||||
mFrameHeight = Font::get(FONT_SIZE_MINI)->getLetterHeight() * 1.9f;
|
||||
|
||||
HelpStyle style;
|
||||
style.font = Font::get(FONT_SIZE_MINI);
|
||||
style.origin = {0.5f, 0.5f};
|
||||
style.iconColor = 0xAAAAAAFF;
|
||||
style.textColor = 0xAAAAAAFF;
|
||||
|
|
Loading…
Reference in a new issue