|
@@ -20,6 +20,7 @@ public class ConfigurationWindow: Window {
|
|
|
true) {
|
|
true) {
|
|
|
this.Size = Vector2.Zero;
|
|
this.Size = Vector2.Zero;
|
|
|
this.SizeCondition = ImGuiCond.Always;
|
|
this.SizeCondition = ImGuiCond.Always;
|
|
|
|
|
+ this.RespectCloseHotkey = !Plugin.Instance.Configuration.IgnoreCloseHotkey;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
public override void PreOpenCheck() {
|
|
public override void PreOpenCheck() {
|
|
@@ -51,6 +52,13 @@ public class ConfigurationWindow: Window {
|
|
|
|
|
|
|
|
ImGui.Spacing();
|
|
ImGui.Spacing();
|
|
|
|
|
|
|
|
|
|
+ if (ImGui.Checkbox("Ignore close hotkey",
|
|
|
|
|
+ ref Plugin.Instance.Configuration.IgnoreCloseHotkey)) {
|
|
|
|
|
+ this.RespectCloseHotkey = !Plugin.Instance.Configuration.IgnoreCloseHotkey;
|
|
|
|
|
+ Plugin.Instance.MainWindow.RespectCloseHotkey = !Plugin.Instance.Configuration.IgnoreCloseHotkey;
|
|
|
|
|
+ save = true;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
save |= ImGui.Checkbox("Lock plugin window positions and sizes",
|
|
save |= ImGui.Checkbox("Lock plugin window positions and sizes",
|
|
|
ref Plugin.Instance.Configuration.LockWindowPositions);
|
|
ref Plugin.Instance.Configuration.LockWindowPositions);
|
|
|
|
|
|