fix test fail because separate threads
This commit is contained in:
2024-08-28 21:04:45 +02:00
parent 6f3215166b
commit b221f8e448
+1
View File
@@ -21,4 +21,5 @@ TEST(UI_button, on_click)
{
UI_button button("button_id", "button_text", Color(255, 255, 255), Color(0, 0, 0), on_click);
button.click();
std::this_thread::sleep_for(std::chrono::milliseconds(1));
}