Skip to content

[#4365] Fix emoji hitboxes in the emoji history list #4366

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

Hecklezz
Copy link
Contributor

@Hecklezz Hecklezz commented Jul 13, 2025

Description

This PR makes a change to the emoji history at the bottom of the IM floater by ensuring they are always left aligned which fixes their hitboxes when mousing over and clicking them. This is done by ensuring their render rectangle has a left value of 0, and the right value gets offset by how much the left got offset by.

Video showing new behaviour-
secondlife-bin_2025-07-14_03-21-49.mp4

Related Issues

Issue: #4365


Additional Notes

The reason the hitboxes don't match where they are rendered is probably worth investigating too, however in my opinion, having them left aligned is more visually ideal regardless. That way an arbitrary gap depending on the floater size doesn't exist before the emoji history, and instead as the window grows in width, it simply adds another emoji if it can fit instead of trying to constantly centre them all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant