Added LLViewDrawContext. Implemented in a few select ui elements. Just enough to support the panel prim media controller fading out all fancy-like.
This commit is contained in:
@@ -730,7 +730,7 @@ void LLPanelPrimMediaControls::draw()
|
||||
}
|
||||
}
|
||||
|
||||
F32 alpha = 1.f;
|
||||
F32 alpha = getDrawContext().mAlpha;
|
||||
if(mHideImmediately)
|
||||
{
|
||||
//hide this panel
|
||||
@@ -781,7 +781,7 @@ void LLPanelPrimMediaControls::draw()
|
||||
}
|
||||
|
||||
{
|
||||
//LLViewDrawContext context(alpha);
|
||||
LLViewDrawContext context(alpha);
|
||||
LLPanel::draw();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user