Skip to content

Commit

Permalink
listbox background transparency
Browse files Browse the repository at this point in the history
  • Loading branch information
MrNiceUK committed May 13, 2019
1 parent 80e3d2f commit 2f5ca7d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ simulated function CreateSkeleton()
TitleHeader.SetPosition(10, 10);

TabsList = Spawn(class'UIList', Container).InitList('ModTabSelectList', 10, HEADER_HEIGHT + TABS_LIST_TOP_PADDING, TABLIST_WIDTH - 30, OPTIONS_HEIGHT,, true); // Mr. Nice: addBG to stop mouse scrolling "dead spots"
TabsList.BG.SetAlpha(0);
TabsList.SetSelectedNavigation();
if (MouseActive)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ simulated function UIPanel InitPanel(optional name InitName, optional name InitL
SettingsList = Spawn(class'UIList', self).InitList('OptionsList', 0, 0, PANEL_WIDTH, PANEL_HEIGHT - FOOTER_HEIGHT + 29,, true); // Mr. Nice: addBG to stop mouse scrolling "dead spots"
SettingsList.SetSelectedNavigation();
SettingsList.OnSelectionChanged = OptionsScreen.OnSelectionChanged;
SettingsList.BG.SetAlpha(0);

return self;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,10 @@ function OnSelect()
OptionsScreen.AttentionType = COAT_CATEGORIES;
MouseClick = false;
}
else
{
OnReceiveFocus(); // Mr. Nice: to update the appearance
}
}
}
else if (CustomPageCallback != none)
Expand Down

0 comments on commit 2f5ca7d

Please sign in to comment.