Fix PopupMenu icon and text not having separation
This commit is contained in:
parent
7ce807a9c5
commit
78a11ea48c
1 changed files with 3 additions and 0 deletions
|
@ -495,6 +495,9 @@ void PopupMenu::_draw_items() {
|
||||||
has_check = true;
|
has_check = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (icon_ofs > 0.0) {
|
||||||
|
icon_ofs += hseparation;
|
||||||
|
}
|
||||||
|
|
||||||
float check_ofs = 0.0;
|
float check_ofs = 0.0;
|
||||||
if (has_check) {
|
if (has_check) {
|
||||||
|
|
Loading…
Reference in a new issue