Skip to content

Commit

Permalink
fix size
Browse files Browse the repository at this point in the history
  • Loading branch information
DeltaGW2 committed Jul 29, 2024
1 parent 65fa766 commit 81b95a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/entry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -244,9 +244,9 @@ void AddonRender()
ImGui::PushFont((ImFont*)NexusLink->Font);

/* set width and position */
ImGui::PushItemWidth(Settings::WidgetWidth);
//ImGui::PushItemWidth(Settings::WidgetWidth);
ImGui::SetNextWindowPos(CompassStripPosition);
if (ImGui::Begin("COMPASS_STRIP", (bool*)0, ImGuiWindowFlags_NoBackground | ImGuiWindowFlags_NoMove | ImGuiWindowFlags_NoInputs | ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoFocusOnAppearing | ImGuiWindowFlags_NoBringToFrontOnFocus | ImGuiWindowFlags_NoScrollbar))
if (ImGui::Begin("COMPASS_STRIP", (bool*)0, ImGuiWindowFlags_AlwaysAutoResize | ImGuiWindowFlags_NoBackground | ImGuiWindowFlags_NoMove | ImGuiWindowFlags_NoInputs | ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoFocusOnAppearing | ImGuiWindowFlags_NoBringToFrontOnFocus | ImGuiWindowFlags_NoScrollbar))
{
float offsetTop = 0.0f;

Expand Down

0 comments on commit 81b95a0

Please sign in to comment.