add a toggle for multi viewports in imgui (#1896)

This commit is contained in:
Adam Bird 2022-11-15 01:02:48 -05:00 committed by GitHub
parent c9a3dcdb44
commit adb1365200
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -686,6 +686,11 @@ namespace GameMenuBar {
ImGui::PopStyleVar(1); ImGui::PopStyleVar(1);
} }
if (SohImGui::supportsViewports()) {
UIWidgets::PaddedEnhancementCheckbox("Allow multi-windows", "gEnableMultiViewports", true, false);
UIWidgets::Tooltip("Allows windows to be able to be dragged off of the main game window. Requires a reload to take effect.");
}
EXPERIMENTAL(); EXPERIMENTAL();
ImGui::Text("Texture Filter (Needs reload)"); ImGui::Text("Texture Filter (Needs reload)");