mirror of
https://github.com/YimMenu/YimMenuV2.git
synced 2026-10-10 20:03:17 +08:00
fix PR
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
|
||||
namespace YimMenu::Features
|
||||
{
|
||||
static constexpr std::pair<int, const char*> ExplosionTypeArray[] = {
|
||||
static const std::vector<std::pair<int, const char*>> g_ExplosionTypeArray = {
|
||||
{static_cast<int>(ExplosionType::DONTCARE), "Don't Care"},
|
||||
{static_cast<int>(ExplosionType::GRENADE), "Grenade"},
|
||||
{static_cast<int>(ExplosionType::GRENADELAUNCHER), "Grenade Launcher"},
|
||||
@@ -100,8 +100,7 @@ namespace YimMenu::Features
|
||||
"selectedexplosion",
|
||||
"Explosion Type",
|
||||
"Select an explosion type",
|
||||
std::begin(ExplosionTypeArray),
|
||||
std::end(ExplosionTypeArray),
|
||||
g_ExplosionTypeArray,
|
||||
static_cast<int>(ExplosionType::BULLET)};
|
||||
|
||||
static FloatCommand _ExplosionDamageScale{
|
||||
|
||||
@@ -42,8 +42,6 @@ namespace YimMenu
|
||||
ImGui::BulletText("Press any registered key to remove");
|
||||
ImGui::Separator();
|
||||
|
||||
HotkeySetter(m_Command->GetHash()).Draw();
|
||||
|
||||
|
||||
ImGui::Spacing();
|
||||
if (ImGui::Button("Close") || ((!ImGui::IsWindowHovered() && !ImGui::IsAnyItemHovered()) && ImGui::IsMouseClicked(ImGuiMouseButton_Left)))
|
||||
|
||||
Reference in New Issue
Block a user