Skip to content

Commit

Permalink
Merge pull request #60 from darkxex/master
Browse files Browse the repository at this point in the history
Fix Battery Icon 1080p
  • Loading branch information
darkxex authored Mar 11, 2022
2 parents 9768ee6 + f1ffa0e commit 68b984a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion source/UI/playerWindows.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,10 @@ namespace playerWindows{

ImGui::SetCursorPosY(ImGui::GetWindowSize().y -40);
ImGui::Separator();
batteryIcon(ImVec2(rightmenuposX + 13.0f,ImGui::GetWindowSize().y -24),true,batteryPorcent,40,18);
if(isHandheld)
batteryIcon(ImVec2((rightmenuposX) + 13.0f,ImGui::GetWindowSize().y -24),true,batteryPorcent,40,18);
else
batteryIcon(ImVec2((rightmenuposX*multiplyRes) + 113.0f,ImGui::GetWindowSize().y -24),true,batteryPorcent,40,18);
ImGui::Text(" %d%%",batteryPorcent);

//endBattery
Expand Down

0 comments on commit 68b984a

Please sign in to comment.