diff options
| author | Jeff Carr <[email protected]> | 2019-06-01 02:58:49 -0700 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2019-06-01 02:58:49 -0700 |
| commit | 3673e688ecb8099e61a7f5e61e66fe7ba9429f89 (patch) | |
| tree | fd317e6079ffddc054371171d27f6159568ec3a3 /area.go | |
| parent | 97a4307514eb243027d81271de67f26537ab8ec6 (diff) | |
more cleaning
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'area.go')
| -rw-r--r-- | area.go | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -75,7 +75,9 @@ func (ah GuiArea) MouseEvent(a *ui.Area, me *ui.AreaMouseEvent) { log.Println("GOT MOUSE UP") log.Println("GOT MOUSE UP ah.Button =", ah.Button) log.Println("GOT MOUSE UP ah.Button.FB =", ah.Button.FB) - mouseClick(ah.Button) + if (Data.MouseClick != nil) { + Data.MouseClick(ah.Button) + } } } |
