mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 10:17:22 +01:00
add ImGui assert options to experimental tab
This commit is contained in:
parent
9d8bcb7a24
commit
8b06ae3f00
1 changed files with 20 additions and 0 deletions
|
|
@ -65,6 +65,26 @@ public class SettingsTabExperimental : SettingsTab
|
|||
new GapSettingsEntry(5, true),
|
||||
|
||||
new DevPluginsSettingsEntry(),
|
||||
|
||||
new SettingsEntry<bool>(
|
||||
Loc.Localize(
|
||||
"DalamudSettingEnableImGuiAsserts",
|
||||
"Enable ImGui asserts"),
|
||||
Loc.Localize(
|
||||
"DalamudSettingEnableImGuiAssertsHint",
|
||||
"If this setting is enabled, a window containing further details will be shown when an internal assertion in ImGui fails.\nWe recommend enabling this when developing plugins."),
|
||||
c => Service<InterfaceManager>.Get().ShowAsserts,
|
||||
(v, _) => Service<InterfaceManager>.Get().ShowAsserts = v),
|
||||
|
||||
new SettingsEntry<bool>(
|
||||
Loc.Localize(
|
||||
"DalamudSettingEnableImGuiAssertsAtStartup",
|
||||
"Always enable ImGui asserts at startup"),
|
||||
Loc.Localize(
|
||||
"DalamudSettingEnableImGuiAssertsAtStartupHint",
|
||||
"This will enable ImGui asserts every time the game starts."),
|
||||
c => c.ImGuiAssertsEnabledAtStartup ?? false,
|
||||
(v, c) => c.ImGuiAssertsEnabledAtStartup = v),
|
||||
|
||||
new GapSettingsEntry(5, true),
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue