Merge pull request #81409 from timothyqiu/social-distance

[3.x] Fix PopupMenu icon and text not having separation
This commit is contained in:
Rémi Verschelde 2023-09-07 13:24:34 +02:00
commit 4461f38c0b
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 3 additions and 0 deletions

View File

@ -495,6 +495,9 @@ void PopupMenu::_draw_items() {
has_check = true;
}
}
if (icon_ofs > 0.0) {
icon_ofs += hseparation;
}
float check_ofs = 0.0;
if (has_check) {