src/context.c

changeset 128
c36170c76a2b
parent 106
895f92cff6b8
--- a/src/context.c	Thu May 29 11:20:49 2025 +0200
+++ b/src/context.c	Thu May 29 11:34:34 2025 +0200
@@ -65,6 +65,9 @@
     asc_context.active_font.style = ASC_FONT_REGULAR;
     asc_context.active_font.size = 14;
 
+    // default UI scale
+    asc_context.ui_scale = 1.0f;
+
     // no window, yet
     asc_context.active_window = ASC_MAX_WINDOWS;
 

mercurial