Add InactiveFloaterTransparency and ActiveFloaterTransparency settings
Dear Users, This removes FloaterUnfocusedBackgroundOpaque, to achieve the same effect, modify InactiveFloaterTransparency, 1.5 should do the trick. PS: The settings are in the Vanity tab at the bottom. Now for developer nonsense: Also sync a bunch of the UI code with upstream Alchemy for opts and shtuff. Also let's translate the tooltips on the buttons on the top right of floaters Translators note that not all new strings have been translated yet as not all are upstream.
This commit is contained in:
@@ -196,14 +196,16 @@ void LLPanel::draw()
|
||||
// draw background
|
||||
if( mBgVisible )
|
||||
{
|
||||
LLRect local_rect = getLocalRect();
|
||||
F32 alpha = getCurrentTransparency();
|
||||
|
||||
LLRect&& local_rect = getLocalRect();
|
||||
if (mBgOpaque )
|
||||
{
|
||||
gl_rect_2d( local_rect, mBgColorOpaque );
|
||||
gl_rect_2d( local_rect, mBgColorOpaque % alpha);
|
||||
}
|
||||
else
|
||||
{
|
||||
gl_rect_2d( local_rect, mBgColorAlpha );
|
||||
gl_rect_2d( local_rect, mBgColorAlpha % alpha);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user