Browse Source

Fix MenuButton location for dropdown menu

master
Noah Petherbridge 2 months ago
parent
commit
8f91971b62
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      menu_button.go

+ 1
- 1
menu_button.go View File

@@ -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