summaryrefslogtreecommitdiff
path: root/zz_test.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-10-12 11:54:58 -0400
committerPietro Gagliardi <[email protected]>2014-10-12 11:54:58 -0400
commit1b070b3f107b8d421d3c3dc709d2da98c99db692 (patch)
treef1d8cd9a6535489b67bd3fa6ac99567bc30729f2 /zz_test.go
parentea391ef84109f42f7b5cf51b4976845e9320aa3f (diff)
Revert "Began making the spaced property per-container." Things are more complicated here than it's worth. Will need to tear everything apart and redo the whole control hierarchy. Sigh...
This reverts commit ea391ef84109f42f7b5cf51b4976845e9320aa3f.
Diffstat (limited to 'zz_test.go')
-rw-r--r--zz_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/zz_test.go b/zz_test.go
index 2f3d286..a7b0670 100644
--- a/zz_test.go
+++ b/zz_test.go
@@ -18,7 +18,6 @@ import (
var closeOnClick = flag.Bool("close", false, "close on click")
var smallWindow = flag.Bool("small", false, "open a small window (test Mac OS X initial control sizing)")
-var spaced = flag.Bool("spaced", false, "enable spacing")
type dtype struct {
Name string
@@ -263,6 +262,7 @@ var tw *testwin
// because Cocoa hates being run off the main thread, even if it's run exclusively off the main thread
func init() {
+ flag.BoolVar(&spaced, "spaced", false, "enable spacing")
flag.Parse()
go func() {
tw = new(testwin)