Don't open UI by default

This commit is contained in:
Liza 2023-10-01 23:54:22 +02:00
parent 37ca6aa3c9
commit 5de9c68051
Signed by: liza
GPG Key ID: 7199F8D727D55F67

View File

@ -68,7 +68,7 @@ public sealed partial class WorkshopPlugin : IDalamudPlugin
_configuration = (Configuration?)_pluginInterface.GetPluginConfig() ?? new Configuration(); _configuration = (Configuration?)_pluginInterface.GetPluginConfig() ?? new Configuration();
_workshopCache = new WorkshopCache(dataManager); _workshopCache = new WorkshopCache(dataManager);
_mainWindow = new(this, _pluginInterface, _clientState, _configuration, _workshopCache) { IsOpen = true }; _mainWindow = new(this, _pluginInterface, _clientState, _configuration, _workshopCache);
_windowSystem.AddWindow(_mainWindow); _windowSystem.AddWindow(_mainWindow);
_pluginInterface.UiBuilder.Draw += _windowSystem.Draw; _pluginInterface.UiBuilder.Draw += _windowSystem.Draw;