From e1c0284a2180a33934a5e2479579f66a2c290282 Mon Sep 17 00:00:00 2001 From: thrust26 Date: Sat, 13 Apr 2019 21:45:37 +0200 Subject: [PATCH] With minimal UI, launcher dialogs use launcher font. --- src/gui/LauncherDialog.cxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/gui/LauncherDialog.cxx b/src/gui/LauncherDialog.cxx index 02551bf84..8992f0a07 100644 --- a/src/gui/LauncherDialog.cxx +++ b/src/gui/LauncherDialog.cxx @@ -223,9 +223,11 @@ LauncherDialog::LauncherDialog(OSystem& osystem, DialogContainer& parent, // Create global props dialog, which is used to temporarily overrride // ROM properties - myGlobalProps = make_unique(this, osystem.frameBuffer().font()); + myGlobalProps = make_unique(this, + myUseMinimalUI ? osystem.frameBuffer().launcherFont() : osystem.frameBuffer().font()); if (myUseMinimalUI) - myStellaSettingsDialog = make_unique(osystem, parent, _font, w, h); + myStellaSettingsDialog = + make_unique(osystem, parent, osystem.frameBuffer().launcherFont(), w, h); // Do we show only ROMs or all files? bool onlyROMs = instance().settings().getBool("launcherroms");