mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-01-04 00:23:27 +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::PushID(pair.c_str());
|
||||
if (ImGui::SmallButton("X"))
|
||||
{
|
||||
file_name_to_delete = pair;
|
||||
}
|
||||
ImGui::PopID();
|
||||
|
||||
if (!g.persist_car.preview_vehicle || (g.persist_car.preview_vehicle && !ImGui::IsAnyItemHovered()))
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user