diff --git a/prefsize_darwin.go b/prefsize_darwin.go index f958c71..e935bff 100644 --- a/prefsize_darwin.go +++ b/prefsize_darwin.go @@ -37,6 +37,5 @@ var prefsizefuncs = [nctypes]func(C.id) (int, int){ } func (s *sysData) preferredSize() (width int, height int) { -if classTypes[s.ctype].make == nil { return 0, 0 } // prevent lockup during window resize return prefsizefuncs[s.ctype](s.id) }