SL-19652 Fixed 'working' cursor flicker
parent
1491eea28c
commit
895ce616ea
|
|
@ -118,7 +118,8 @@ public:
|
|||
|
||||
// Sets cursor, may set to arrow+hourglass
|
||||
virtual void setCursor(ECursorType cursor) { mNextCursor = cursor; };
|
||||
virtual ECursorType getCursor() const;
|
||||
virtual ECursorType getCursor() const;
|
||||
virtual ECursorType getNextCursor() const { return mNextCursor; };
|
||||
virtual void updateCursor() = 0;
|
||||
|
||||
virtual void captureMouse() = 0;
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue