mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-11 13:14:17 +00:00
Fix tab height when we're docking a tab in the empty main Tabs widget
This commit is contained in:
parent
47d2d8f902
commit
c5cf848d37
@ -860,9 +860,7 @@ void Tabs::stopDrag(DropTabResult result)
|
||||
gfx::Rect Tabs::getTabBounds(Tab* tab)
|
||||
{
|
||||
gfx::Rect rect = getClientBounds();
|
||||
gfx::Rect box(rect.x, rect.y, rect.w,
|
||||
(m_list.empty() && animation() == ANI_NONE ? 0:
|
||||
m_tabsHeight - m_tabsBottomHeight));
|
||||
gfx::Rect box(rect.x, rect.y, rect.w, m_tabsHeight - m_tabsBottomHeight);
|
||||
int startX = m_border*guiscale();
|
||||
double t = animationTime();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user