summaryrefslogtreecommitdiff
path: root/gui.go
diff options
context:
space:
mode:
Diffstat (limited to 'gui.go')
-rw-r--r--gui.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui.go b/gui.go
index f9b6875..4aa9886 100644
--- a/gui.go
+++ b/gui.go
@@ -237,7 +237,7 @@ func CreateFontButton(wm *GuiWindow, action string) *GuiButton {
var newBM GuiButton
newBM.Action = action
newBM.FB = newB
- newBM.AH = wm.AH
+ newBM.Area = wm.Area
Data.AllButtons = append(Data.AllButtons, &newBM)
newB.OnChanged(func (*ui.FontButton) {