diff options
Diffstat (limited to 'gui.go')
| -rw-r--r-- | gui.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -197,7 +197,7 @@ func CreateFontButton(box *GuiBox, action string) *GuiButton { newGB.Action = action newGB.FB = ui.NewFontButton() newGB.Box = box - newGB.Area = box.Area + newGB.Area = box.Window.Area Data.AllButtons = append(Data.AllButtons, &newGB) newGB.FB.OnChanged(func (*ui.FontButton) { |
