FIRE-18014: Inventory window "loses" focus during drag&drop

Fri, 01 Dec 2017 14:34:40 +0100

author
Ansariel
date
Fri, 01 Dec 2017 14:34:40 +0100
changeset 53524
29ac67093911
parent 53523
24778a73e766
child 53525
409064780985

FIRE-18014: Inventory window "loses" focus during drag&drop

indra/newview/llinventorypanel.cpp file | annotate | diff | revisions
     1.1 --- a/indra/newview/llinventorypanel.cpp	Fri Dec 01 12:50:30 2017 +0100
     1.2 +++ b/indra/newview/llinventorypanel.cpp	Fri Dec 01 14:34:40 2017 +0100
     1.3 @@ -1075,6 +1075,17 @@
     1.4  		{
     1.5  			mFolderRoot.get()->setDragAndDropThisFrame();
     1.6  		}
     1.7 +
     1.8 +		// <FS:Ansariel> FIRE-18014: Inventory window "loses" focus during drag&drop
     1.9 +		if (drop)
    1.10 +		{
    1.11 +			LLFloater* root_floater = getParentByType<LLFloater>();
    1.12 +			if (root_floater)
    1.13 +			{
    1.14 +				root_floater->setTransparencyType(LLUICtrl::TT_ACTIVE);
    1.15 +			}
    1.16 +		}
    1.17 +		// </FS:Ansariel>
    1.18  	}
    1.19  
    1.20  	return handled;

mercurial