From c021e88e523e1eca27720f2772e71bb99bbc0d40 Mon Sep 17 00:00:00 2001 From: luboslenco Date: Mon, 31 Jul 2023 12:43:54 +0200 Subject: [PATCH] Fix compile --- base/Sources/arm/ui/UIBase.hx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/base/Sources/arm/ui/UIBase.hx b/base/Sources/arm/ui/UIBase.hx index 10a8a973..75ff3123 100644 --- a/base/Sources/arm/ui/UIBase.hx +++ b/base/Sources/arm/ui/UIBase.hx @@ -822,7 +822,9 @@ class UIBase { if (Console.messageTimer <= 0) hwnds[TabStatus].redraws = 2; } + #if (is_paint || is_sculpt) sidebarMiniW = Std.int(defaultSidebarMiniW * ui.SCALE()); + #end if (!App.uiEnabled) return;