diff options
| author | Jeff Carr <[email protected]> | 2019-06-01 13:41:45 -0700 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2019-06-01 13:41:45 -0700 |
| commit | 7d72ca3561fefd4c89f553448810eee545a47880 (patch) | |
| tree | d979433cc3b9bf201c4090874ea142541f34af66 /gui.go | |
| parent | c5f9c6d96f1ce960fa08ab2c77b348a5bcdf03ea (diff) | |
start handling 'Guiwindow' correctly
Signed-off-by: Jeff Carr <[email protected]>
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) { |
