mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Fix hover being drawn twice inside PopupMenu
s
This commit is contained in:
parent
a6b27b526f
commit
78fdebf8cc
2 changed files with 4 additions and 4 deletions
|
@ -551,7 +551,6 @@ void PopupMenu::_notification(int p_what) {
|
|||
}
|
||||
|
||||
if (i == mouse_over) {
|
||||
hover->draw(ci, Rect2(item_ofs + Point2(-hseparation, -vseparation / 2), Size2(get_size().width - style->get_minimum_size().width + hseparation * 2, h + vseparation)));
|
||||
hover->draw(ci, Rect2(item_ofs + Point2(0, -vseparation / 2), Size2(size.width - style->get_minimum_size().width, h + vseparation)));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue