diff options
author | TJ <tj8@live.com.au> | 2025-07-15 02:09:09 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-14 19:09:09 +0300 |
commit | 621be9cb9e0f37ffad71a12d4c4b0d23beb39993 (patch) | |
tree | fe29ff9650cbceab6167b0f64fc1303291aba83b | |
parent | 8daa59c3299d153cd3b19ff8470284f0f2ddbea7 (diff) |
#4365 Fix emoji hitboxes in the emoji history list in the IM floater by ensuring they are left aligned
-rw-r--r-- | indra/newview/llpanelemojicomplete.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/llpanelemojicomplete.cpp b/indra/newview/llpanelemojicomplete.cpp index 3a6a6a5ec3..f0555408dd 100644 --- a/indra/newview/llpanelemojicomplete.cpp +++ b/indra/newview/llpanelemojicomplete.cpp @@ -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(); |