Browse Source

Fix MenuButton location for dropdown menu

master
Noah Petherbridge 6 months ago
parent
commit
8f91971b62
  1. 2
      menu_button.go

2
menu_button.go

@ -88,7 +88,7 @@ func (w *MenuButton) Compute(e render.Engine) {
func (w *MenuButton) positionMenu(e render.Engine) {
var (
// Position and size of the MenuButton button.
buttonPoint = w.Point()
buttonPoint = AbsolutePosition(w)
buttonSize = w.Size()
// Size of the actual desktop window.

Loading…
Cancel
Save