From f10088c50d2d53cf7ede28a775dd0446806ce12a Mon Sep 17 00:00:00 2001 From: Angel Xex Date: Thu, 10 Mar 2022 22:15:23 -0300 Subject: [PATCH] Fix Battery Icon 1080p --- source/UI/playerWindows.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/source/UI/playerWindows.cpp b/source/UI/playerWindows.cpp index 9b9d82c..446ec30 100644 --- a/source/UI/playerWindows.cpp +++ b/source/UI/playerWindows.cpp @@ -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