#4365 Fix emoji hitboxes in the emoji history list in the IM floater by ensuring they are left aligned
parent
8daa59c329
commit
621be9cb9e
|
|
@ -463,6 +463,7 @@ void LLPanelEmojiComplete::updateConstraints()
|
|||
{
|
||||
mEmojiHeight = mRenderRect.getHeight();
|
||||
mRenderRect.stretch((mRenderRect.getWidth() - static_cast<S32>(mVisibleEmojis) * mEmojiWidth) / -2, 0);
|
||||
mRenderRect.translate(-mRenderRect.mLeft, 0); // Left align emojis to fix hitboxes
|
||||
}
|
||||
|
||||
updateScrollPos();
|
||||
|
|
|
|||
Loading…
Reference in New Issue