sys: Use custom literals for scaled values

This commit is contained in:
WerWolv
2022-01-11 23:48:18 +01:00
parent 2f1a707fd3
commit d399a6427a
12 changed files with 43 additions and 24 deletions

View File

@@ -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);