mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-01-06 01:23:35 +08:00
Made X button unique in Persist Vehicle. (#2361)
This commit is contained in:
parent
debe7892d1
commit
71cc48fd38
@ -135,10 +135,12 @@ namespace big
|
|||||||
}
|
}
|
||||||
|
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
|
ImGui::PushID(pair.c_str());
|
||||||
if (ImGui::SmallButton("X"))
|
if (ImGui::SmallButton("X"))
|
||||||
{
|
{
|
||||||
file_name_to_delete = pair;
|
file_name_to_delete = pair;
|
||||||
}
|
}
|
||||||
|
ImGui::PopID();
|
||||||
|
|
||||||
if (!g.persist_car.preview_vehicle || (g.persist_car.preview_vehicle && !ImGui::IsAnyItemHovered()))
|
if (!g.persist_car.preview_vehicle || (g.persist_car.preview_vehicle && !ImGui::IsAnyItemHovered()))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user