Skip to content

Commit

Permalink
Removed debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
Freaxed committed Jan 13, 2025
1 parent 02d22de commit dd0dd06
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/helpers/gtab/GTabView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,18 +56,6 @@ GTabView::AddTab(GTab* tab, BView* view, int32 index)
_AddViewToCard(view, index);
_FixContentOrientation(view);
OnTabAdded(tab, view);
#if 0
//debug code:
printf("-------- debug size for %s \n", Name());
BSize containerSize = fTabsContainer->Bounds().Size();
printf(" containerSize %f,%f\n", containerSize.Width(), containerSize.Height());
float accu = 0.0f;
for(int32 i=0;i<fTabsContainer->CountTabs();i++){
GTab* tab = fTabsContainer->TabAt(i);
accu += tab->Bounds().Width();
printf("%s w %f accu %f left %f\n", tab->Label().String(), tab->Bounds().Width(), accu, containerSize.Width() - accu);
}
#endif
}


Expand Down

0 comments on commit dd0dd06

Please sign in to comment.