summaryrefslogtreecommitdiff
path: root/area.go
diff options
context:
space:
mode:
Diffstat (limited to 'area.go')
-rw-r--r--area.go8
1 files changed, 2 insertions, 6 deletions
diff --git a/area.go b/area.go
index cbf129f..2d4ae59 100644
--- a/area.go
+++ b/area.go
@@ -13,24 +13,20 @@ func makeSplashArea() *ui.Area {
Data.fontButton = CreateFontButton("SplashFont", "DONE")
makeAttributedString()
- splashArea := ui.NewArea(myAH)
+ Data.splashArea = ui.NewArea(myAH)
// create a 'fake' button entry for the mouse clicks
var newmap ButtonMap
newmap.Action = "AREA"
- newmap.A = splashArea
-
+ newmap.A = Data.splashArea
myAH.button = &newmap
Data.AllButtons = append(Data.AllButtons, newmap)
- Data.splashArea = splashArea
if (Data.Debug) {
spew.Dump(Data.splashArea)
log.Println("DEBUGGING", Data.Debug)
} else {
log.Println("NOT DEBUGGING AREA mhAH.button =", myAH.button)
- log.Println("NOT DEBUGGING AREA mhAH.button =", myAH.button)
- log.Println("NOT DEBUGGING AREA mhAH.button =", myAH.button)
}
return Data.splashArea
}