diff options
| author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2023-04-06 21:19:44 +0300 | 
|---|---|---|
| committer | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2023-04-25 22:49:33 +0300 | 
| commit | 895ce616ea71b2001ec4e826b80310da80db9a0e (patch) | |
| tree | 98e48a6393bf7a9d103c209a691d50307aebc127 /indra/newview | |
| parent | 1491eea28c9355ba3d69ce566ae5263e69db3daf (diff) | |
SL-19652 Fixed 'working' cursor flicker
Diffstat (limited to 'indra/newview')
| -rw-r--r-- | indra/newview/llinventorypanel.cpp | 6 | 
1 files changed, 4 insertions, 2 deletions
diff --git a/indra/newview/llinventorypanel.cpp b/indra/newview/llinventorypanel.cpp index 8029486d6f..2799cb4cdf 100644 --- a/indra/newview/llinventorypanel.cpp +++ b/indra/newview/llinventorypanel.cpp @@ -1268,8 +1268,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  | 
