-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes issue #2452, tooltips flicker when forced under the mouse
This scenario can occur when a tooltip is unable to render in the preferred location due to the screen boundaries, for instance if an item with a really long tooltip is placed in the lower-right most inventory slot. Because UILists define InteractionRegions around their contents by default and tooltips are rendered last, they are seen as the new top-most interactive element on the following game tick. This causes an immediate reset of the tooltip timer due to the top-most region changing, and the process repeats. This has been fixed by preventing tooltips from defining interaction regions through a new optional flag in UIList that sets whether the list is interactive or not.
- Loading branch information
1 parent
610b6d2
commit 54ebdcb
Showing
2 changed files
with
9 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters