Skip to content

Commit

Permalink
Remove left-behind debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
hrydgard committed Dec 28, 2023
1 parent aeefa4a commit a094637
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions Common/UI/ViewGroup.cpp
Expand Up @@ -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;
Expand Down Expand Up @@ -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;

Expand Down

0 comments on commit a094637

Please sign in to comment.