summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-04-06 21:19:44 +0300
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-04-06 21:51:16 +0300
commitae2c53f52b79ac9a8fe484bc2509a6deff47dc62 (patch)
treeb005667cde0394acb97fca303ae8d54308b73095 /indra/newview
parentb3beabec8660602a891c94f4afb8c63a2b31e62f (diff)
SL-19534 Fixed 'working' cursor flicker
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llinventorypanel.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/indra/newview/llinventorypanel.cpp b/indra/newview/llinventorypanel.cpp
index f97f07f52c..0589b5b3f3 100644
--- a/indra/newview/llinventorypanel.cpp
+++ b/indra/newview/llinventorypanel.cpp
@@ -1270,8 +1270,10 @@ BOOL LLInventoryPanel::handleHover(S32 x, S32 y, MASK mask)
{
BOOL handled = LLView::handleHover(x, y, mask);
if(handled)
- {
- ECursorType cursor = getWindow()->getCursor();
+ {
+ // getCursor gets current cursor, setCursor sets next cursor
+ // check that children didn't set own 'next' cursor
+ ECursorType cursor = getWindow()->getNextCursor();
if (LLInventoryModelBackgroundFetch::instance().folderFetchActive() && cursor == UI_CURSOR_ARROW)
{
// replace arrow cursor with arrow and hourglass cursor