fix hardcoding position

This commit is contained in:
Taiga 2022-07-03 15:39:27 -06:00
parent 23c6c55804
commit e29beabda9

View File

@ -35,7 +35,7 @@ namespace cheat::feature
NF(f_UID, "UID", "Visuals::ProfileChanger", false),
NF(f_UIDWaterMarkPrefix, "UIDWaterMarkPrefix", "Visuals::ProfileChanger", false),
NF(f_UIDsize, "UID Size", "Visuals::ProfileChanger", 14),
NF(f_UIDpos_x, "UID Pos X", "Visuals::ProfileChanger", 1190),
NF(f_UIDpos_x, "UID Pos X", "Visuals::ProfileChanger", static_cast<float>(app::Screen_get_width(nullptr)* 0.96875)),
NF(f_UIDpos_y, "UID Pos Y", "Visuals::ProfileChanger", 0),
NF(f_NickName, "NickName", "Visuals::ProfileChanger", false),
NF(f_Level, "Level", "Visuals::ProfileChanger", false),
@ -65,9 +65,9 @@ namespace cheat::feature
ConfigWidget(f_Enabled, "Custom Profile.");
ConfigWidget(f_UID, "Changes the uid visually.");
ConfigWidget("Append \"UID:\" prefix on the water-mark", f_UIDWaterMarkPrefix);
ConfigWidget("UID size", f_UIDsize, 1, 1, 500.0, "Set UID size");
ConfigWidget("UID Pos X", f_UIDpos_x, 1.f, 1.f, 1920.f, "Set UID position X");
ConfigWidget("UID Pos y", f_UIDpos_y, 1.f, 0, 1080.f, "Set UID position y");
ConfigWidget("UID size", f_UIDsize, 0.1, 1, 500.0, "Set UID size");
ConfigWidget("UID Pos X", f_UIDpos_x, 1.f, 1.f, static_cast<float>(app::Screen_get_width(nullptr)), "Set UID position X");
ConfigWidget("UID Pos y", f_UIDpos_y, 1.f, 0, static_cast<float>(app::Screen_get_height(nullptr)), "Set UID position y");
ConfigWidget(f_NickName, "Changes the nickname visually.");
ConfigWidget(f_Level, "Changes the level visually.");
ConfigWidget(f_Exp, "Changes the exp visually.");