From 5462a92930942fd49dd2559b407ef8b069a30d1e Mon Sep 17 00:00:00 2001 From: Konstantin Date: Sat, 18 Mar 2023 00:16:12 +0300 Subject: [PATCH] Fix #1688 again --- client/adventureMap/CInfoBar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/adventureMap/CInfoBar.cpp b/client/adventureMap/CInfoBar.cpp index fdaac2f84..a3999c5e5 100644 --- a/client/adventureMap/CInfoBar.cpp +++ b/client/adventureMap/CInfoBar.cpp @@ -170,7 +170,7 @@ CInfoBar::VisibleComponentInfo::VisibleComponentInfo(const std::vector("ADSTATOT", 1, 0); - auto fullRect = Rect(0, 0, data_width, data_height); + auto fullRect = Rect(CInfoBar::offset, CInfoBar::offset, data_width - 2 * CInfoBar::offset, data_height - 2 * CInfoBar::offset); auto textRect = fullRect; auto imageRect = fullRect; auto font = FONT_SMALL;