Reset the tab region when switching to a tab less look. At least partially fixes #7919.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42636 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
a820304d86
commit
c732cb560d
|
@ -438,6 +438,11 @@ DefaultDecorator::_DoLayout()
|
||||||
return;
|
return;
|
||||||
} else {
|
} else {
|
||||||
// no tab
|
// no tab
|
||||||
|
for (int32 i = 0; i < fTabList.CountItems(); i++) {
|
||||||
|
Decorator::Tab* tab = fTabList.ItemAt(i);
|
||||||
|
tab->tabRect.Set(0.0, 0.0, -1.0, -1.0);
|
||||||
|
}
|
||||||
|
fTabsRegion.MakeEmpty();
|
||||||
fTitleBarRect.Set(0.0, 0.0, -1.0, -1.0);
|
fTitleBarRect.Set(0.0, 0.0, -1.0, -1.0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue