Skip to content

Commit

Permalink
add a toggle for multi viewports in imgui (HarbourMasters#1896)
Browse files Browse the repository at this point in the history
  • Loading branch information
Archez authored Nov 15, 2022
1 parent c9a3dcd commit adb1365
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions soh/soh/GameMenuBar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -686,6 +686,11 @@ namespace GameMenuBar {
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();

ImGui::Text("Texture Filter (Needs reload)");
Expand Down

0 comments on commit adb1365

Please sign in to comment.