Fix MenuButton location for dropdown menu

master
Noah 2 years ago
parent ff76b831ad
commit 8f91971b62
  1. 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