1
0
mirror of synced 2025-01-25 15:53:43 +01:00

chore: Add documentation about popup opening

This commit is contained in:
iTrooz 2024-12-06 23:38:57 +01:00
parent cf09029847
commit 6ab2e81f1c
No known key found for this signature in database
GPG Key ID: 8B83F77667B1BC6A

View File

@ -427,6 +427,8 @@ namespace hex {
} }
// Open popups when plugins requested it // Open popups when plugins requested it
// We retry every frame until the popup actually opens
// It might not open the first time because another popup is already open
{ {
std::scoped_lock lock(m_popupMutex); std::scoped_lock lock(m_popupMutex);
m_popupsToOpen.remove_if([](const auto &name) { m_popupsToOpen.remove_if([](const auto &name) {