Fixed wrong panel height in texture preview floater that prevented buttons from being clickable at full height
parent
8e2805150e
commit
3ed0520ac4
|
|
@ -531,7 +531,7 @@ void LLPreviewTexture::updateDimensions()
|
|||
button_panel->setVisible(FALSE);
|
||||
if (mShowingButtons)
|
||||
{
|
||||
dimensions_panel->translate(0, -button_panel->getRect().mTop - 10);
|
||||
dimensions_panel->translate(0, -button_panel->getRect().mTop);
|
||||
mShowingButtons = false;
|
||||
}
|
||||
}
|
||||
|
|
@ -540,7 +540,7 @@ void LLPreviewTexture::updateDimensions()
|
|||
button_panel->setVisible(TRUE);
|
||||
if (!mShowingButtons)
|
||||
{
|
||||
dimensions_panel->translate(0, button_panel->getRect().mTop + 10);
|
||||
dimensions_panel->translate(0, button_panel->getRect().mTop);
|
||||
mShowingButtons = true;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -124,7 +124,7 @@
|
|||
follows="left|right|bottom"
|
||||
layout="topleft"
|
||||
bottom="-1"
|
||||
height="22"
|
||||
height="32"
|
||||
width="545"
|
||||
visible="false">
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue