dialog:: displays() does nothing if just_refreshing, for performance

This commit is contained in:
Zeno Rogue committed 2024-07-27 18:23:01 +02:00
1 parent 47e5eb1e93
commit 063dc65e3c
1 file changed
+1
+1
View File
@@ -703,6 +703,7 @@ EX namespace dialog {
EX void display() {
callhooks(hooks_display_dialog);
if(just_refreshing) return;
int N = items.size();
dfsize = vid.fsize;
#if ISMOBILE || ISPANDORA