diff options
| author | Jeff Carr <[email protected]> | 2019-05-24 09:02:35 -0700 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2019-05-24 09:02:35 -0700 |
| commit | 265a8f6813f9be5dbf6c4c7f02f7a3e6dd9ab1be (patch) | |
| tree | 5301cdbfa142c2f6094336a142591b3f33b431ef /area.go | |
| parent | 9b29c265b26d1231cf9ddb7abf51e390197dabf1 (diff) | |
more mouse click handling cleanups
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'area.go')
| -rw-r--r-- | area.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -88,8 +88,8 @@ func (ah areaHandler) MouseEvent(a *ui.Area, me *ui.AreaMouseEvent) { log.Println("GOT MOUSE UP") log.Println("GOT MOUSE UP") log.Println("GOT MOUSE UP") - if (Data.ButtonClick != nil) { - Data.ButtonClick(nil) + if (Data.MouseClick != nil) { + Data.MouseClick(nil) } } } |
