Skip to content

Commit

Permalink
ignore visible flag for world map widget
Browse files Browse the repository at this point in the history
  • Loading branch information
3vcloud committed Jan 8, 2024
1 parent 2323d83 commit dfde9c0
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions GWToolboxdll/Widgets/WorldMapWidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,6 @@ void WorldMapWidget::Draw(IDirect3DDevice9*)
return;
}

if (!visible) {
drawn = false;
return;
}

ImGui::PushStyleColor(ImGuiCol_WindowBg, ImVec4(0, 0, 0, 0));
ImGui::SetNextWindowPos(ImVec2(16.f, 16.f), ImGuiCond_FirstUseEver);
if (ImGui::Begin(Name(), nullptr, GetWinFlags() | ImGuiWindowFlags_AlwaysAutoResize)) {
Expand Down

0 comments on commit dfde9c0

Please sign in to comment.