From 8023439fa3d76497aec87a80fc34e1be1d69a7ee Mon Sep 17 00:00:00 2001 From: RD42 <42702181+dashr9230@users.noreply.github.com> Date: Wed, 17 Jul 2024 22:24:31 +0800 Subject: [PATCH] [saco] Implement/match `GetUIFontSize()` --- saco/main.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/saco/main.cpp b/saco/main.cpp index f8f4381..f821d75 100644 --- a/saco/main.cpp +++ b/saco/main.cpp @@ -538,3 +538,8 @@ int GetDeathWindowFontSize() return fontsize; } +int GetUIFontSize() +{ + return 2 * pConfig->GetIntVariable("fontsize") + 20; +} +