mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-30 04:13:40 +01:00
fix: warnings, don't use singleton
This commit is contained in:
parent
c287e28832
commit
0a4051b3cc
2 changed files with 21 additions and 18 deletions
|
|
@ -60,7 +60,7 @@ namespace Dalamud.Interface.Internal
|
|||
this.creditsWindow = new CreditsWindow(dalamud) { IsOpen = false };
|
||||
this.dataWindow = new DataWindow(dalamud) { IsOpen = false };
|
||||
this.gamepadModeNotifierWindow = new GamepadModeNotifierWindow();
|
||||
this.consoleWindow = new ConsoleWindow { IsOpen = this.dalamud.Configuration.LogOpenAtStartup };
|
||||
this.consoleWindow = new ConsoleWindow(dalamud) { IsOpen = this.dalamud.Configuration.LogOpenAtStartup };
|
||||
this.pluginStatWindow = new PluginStatWindow(dalamud) { IsOpen = false };
|
||||
this.pluginWindow = new PluginInstallerWindow(dalamud) { IsOpen = false };
|
||||
this.scratchpadWindow = new ScratchpadWindow(dalamud) { IsOpen = false };
|
||||
|
|
@ -155,7 +155,7 @@ namespace Dalamud.Interface.Internal
|
|||
public void OpenGamepadModeNotifierWindow() => this.gamepadModeNotifierWindow.IsOpen = true;
|
||||
|
||||
/// <summary>
|
||||
/// Opens the <see cref="LogWindow"/>.
|
||||
/// Opens the <see cref="ConsoleWindow"/>.
|
||||
/// </summary>
|
||||
public void OpenLogWindow() => this.consoleWindow.IsOpen = true;
|
||||
|
||||
|
|
@ -227,7 +227,7 @@ namespace Dalamud.Interface.Internal
|
|||
public void ToggleGamepadModeNotifierWindow() => this.gamepadModeNotifierWindow.Toggle();
|
||||
|
||||
/// <summary>
|
||||
/// Toggles the <see cref="LogWindow"/>.
|
||||
/// Toggles the <see cref="ConsoleWindow"/>.
|
||||
/// </summary>
|
||||
public void ToggleLogWindow() => this.consoleWindow.Toggle();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue