config: pivot pop-out input from per-tab to global master switch

This commit is contained in:
2026-05-03 13:01:07 +02:00
parent 2c79a67dae
commit 9e1f559644
5 changed files with 23 additions and 22 deletions
+6 -7
View File
@@ -152,19 +152,18 @@ public sealed class Plugin : IDalamudPlugin
});
}
// Hellion Chat v10 → v11 — adds Tab.PopOutInputEnabled and
// Configuration.SeenPopOutInputHint for the v0.6.0 pop-out input
// feature. Lightweight migration: defaults the new fields, no
// user-facing notification because the change is opt-in only.
// Hellion Chat v10 → v11 — adds the global Configuration.PopOutInputEnabled
// master switch and SeenPopOutInputHint flag for the v0.6.0 pop-out
// input feature. Lightweight migration: defaults both fields,
// no user-facing notification because the change is opt-in only.
if (Config.Version < 11)
{
foreach (var tab in Config.Tabs)
tab.PopOutInputEnabled = false;
Config.PopOutInputEnabled = false;
Config.SeenPopOutInputHint = false;
Config.Version = 11;
SaveConfig();
Log.Information(
"Migrated config v10 → v11: PopOutInputEnabled added per tab (default off), " +
"Migrated config v10 → v11: PopOutInputEnabled added (global, default off), " +
"SeenPopOutInputHint added (default false)");
}