Skip to content

Commit

Permalink
Fix MenuButton location for dropdown menu
Browse files Browse the repository at this point in the history
  • Loading branch information
kirsle committed Jun 4, 2021
1 parent ff76b83 commit 8f91971
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion menu_button.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 8f91971

Please sign in to comment.