From a094637ab1ceb348c5b51bd35af58ee4f5a13624 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Thu, 28 Dec 2023 10:46:41 +0100 Subject: [PATCH] Remove left-behind debug code --- Common/UI/ViewGroup.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Common/UI/ViewGroup.cpp b/Common/UI/ViewGroup.cpp index 7fbb4aa7fd2d..6e6afda28c1a 100644 --- a/Common/UI/ViewGroup.cpp +++ b/Common/UI/ViewGroup.cpp @@ -495,10 +495,6 @@ void LinearLayout::Measure(const UIContext &dc, MeasureSpec horiz, MeasureSpec v if (views_.empty()) return; - if (tag_ == "debug") { - tag_ = "debug"; - } - float sum = 0.0f; float maxOther = 0.0f; float totalWeight = 0.0f; @@ -670,10 +666,6 @@ void LinearLayout::Measure(const UIContext &dc, MeasureSpec horiz, MeasureSpec v void LinearLayout::Layout() { const Bounds &bounds = bounds_; - if (tag_ == "debug") { - tag_ = "debug"; - } - Bounds itemBounds; float pos;