mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-30 21:05:56 -05:00
sys: Use custom literals for scaled values
This commit is contained in:
@@ -177,7 +177,7 @@ namespace hex::plugin::builtin {
|
||||
if (provider->getPageCount() > 1) {
|
||||
ImGui::NewLine();
|
||||
|
||||
auto linePos = ImGui::GetCursorPosY() - 15 * SharedData::globalScale;
|
||||
auto linePos = ImGui::GetCursorPosY() - 15_scaled;
|
||||
|
||||
ImGui::SetCursorPosY(linePos);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user