better-ui-manager #2

Merged
BitterSmile merged 25 commits from better-ui-manager into main 2023-09-02 14:34:16 +02:00
Showing only changes of commit 9e60fdf32d - Show all commits

View File

@ -151,7 +151,7 @@ namespace NEG.UI
{
if (forceShow)
{
if(currentShownPopup.priority <= priority)
if(currentShownPopup.data != null && currentShownPopup.priority >= priority)
return;
popupsToShow.Enqueue(currentShownPopup.data, currentShownPopup.priority);
@ -163,6 +163,8 @@ namespace NEG.UI
{
if(!d.IsValid)
continue;
if(d == currentShownPopup.data)
continue;
ShowPopup(d, p);
return;
}