Fix to prevent overriden style from appling to the config window
This commit is contained in:
@@ -134,11 +134,6 @@ public sealed class Plugin : IDalamudPlugin {
|
||||
|
||||
private void Draw()
|
||||
{
|
||||
if (Config.OverrideStyle)
|
||||
{
|
||||
var styles = StyleModel.GetConfiguredStyles();
|
||||
styles?.First(style => style.Name.Equals(Config.ChosenStyle)).Push();
|
||||
}
|
||||
|
||||
Interface.UiBuilder.DisableUserUiHide = !Config.HideWhenUiHidden;
|
||||
ChatLogWindow.DefaultText = ImGui.GetStyle().Colors[(int) ImGuiCol.Text];
|
||||
@@ -147,12 +142,6 @@ public sealed class Plugin : IDalamudPlugin {
|
||||
{
|
||||
WindowSystem.Draw();
|
||||
}
|
||||
|
||||
if (Config.OverrideStyle)
|
||||
{
|
||||
var styles = StyleModel.GetConfiguredStyles();
|
||||
styles?.First(style => style.Name.Equals(Config.ChosenStyle)).Pop();
|
||||
}
|
||||
}
|
||||
|
||||
internal void SaveConfig() {
|
||||
|
||||
Reference in New Issue
Block a user