mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-27 10:59:24 +01:00
Remove static Config.
This commit is contained in:
parent
aa4bc45641
commit
be3c1c85aa
30 changed files with 363 additions and 440 deletions
|
|
@ -46,7 +46,7 @@ public class CollectionsTab : IDisposable, ITab
|
|||
_config = configuration;
|
||||
_tutorial = tutorial;
|
||||
_selector = new CollectionSelector(configuration, communicator, collectionManager.Storage, collectionManager.Active, _tutorial);
|
||||
_panel = new CollectionPanel(pi, configuration, communicator, collectionManager, _selector, actors, targets, modStorage);
|
||||
_panel = new CollectionPanel(pi, communicator, collectionManager, _selector, actors, targets, modStorage);
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
|
|
@ -116,8 +116,8 @@ public class CollectionsTab : IDisposable, ITab
|
|||
ImGui.SameLine();
|
||||
|
||||
style.Push(ImGuiStyleVar.FrameBorderSize, ImGuiHelpers.GlobalScale);
|
||||
color.Push(ImGuiCol.Text, ColorId.FolderExpanded.Value(_config))
|
||||
.Push(ImGuiCol.Border, ColorId.FolderExpanded.Value(_config));
|
||||
color.Push(ImGuiCol.Text, ColorId.FolderExpanded.Value())
|
||||
.Push(ImGuiCol.Border, ColorId.FolderExpanded.Value());
|
||||
if (ImGuiUtil.DrawDisabledButton(
|
||||
$"{(_selector.IncognitoMode ? FontAwesomeIcon.Eye : FontAwesomeIcon.EyeSlash).ToIconString()}###IncognitoMode",
|
||||
buttonSize with { X = withSpacing }, string.Empty, false, true))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue