Fix MenuButton location for dropdown menu
This commit is contained in:
parent
ff76b831ad
commit
8f91971b62
|
@ -88,7 +88,7 @@ func (w *MenuButton) Compute(e render.Engine) {
|
||||||
func (w *MenuButton) positionMenu(e render.Engine) {
|
func (w *MenuButton) positionMenu(e render.Engine) {
|
||||||
var (
|
var (
|
||||||
// Position and size of the MenuButton button.
|
// Position and size of the MenuButton button.
|
||||||
buttonPoint = w.Point()
|
buttonPoint = AbsolutePosition(w)
|
||||||
buttonSize = w.Size()
|
buttonSize = w.Size()
|
||||||
|
|
||||||
// Size of the actual desktop window.
|
// Size of the actual desktop window.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user