From 43b501275c482c0ec30a68edd694f77748bedd3a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jaakko=20Ker=C3=A4nen?= jaakko.keranen@iki.fi
Date: Tue, 18 May 2021 14:58:58 +0300
Subject: [PATCH 1/1] App: Fixed init of UI palette on first run
IssueID #275
src/app.c | 1 +
src/ui/window.c | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/app.c b/src/app.c
index 555206a9..49746560 100644
--- a/src/app.c
+++ b/src/app.c
@@ -729,6 +729,7 @@ static void init_App_(iApp *d, int argc, char **argv) {
setupApplication_iOS();
#endif
init_Keys();
loadPrefs_App_(d);
load_Keys(dataDir_App_());
d->window = new_Window(d->initialWindowRect);
diff --git a/src/ui/window.c b/src/ui/window.c
index cd8f2e12..2babb6e1 100644
--- a/src/ui/window.c
+++ b/src/ui/window.c
@@ -59,7 +59,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
static iWindow *theWindow_ = NULL;
-#if defined (iPlatformApple) || defined (iPlatformLinux)
+#if defined (iPlatformApple) || defined (iPlatformLinux) || defined (iPlatformOther)
static float initialUiScale_ = 1.0f;
#else
static float initialUiScale_ = 1.1f;
--
2.25.1
text/plain
This content has been proxied by September (ba2dc).