update to latest gioui.org API, fix cross platform builds
This commit is contained in:
4
multi.go
4
multi.go
@@ -1,7 +1,7 @@
|
||||
package gel
|
||||
|
||||
import (
|
||||
l "github.com/p9c/p9/pkg/gel/gio/layout"
|
||||
l "gioui.org/layout"
|
||||
"golang.org/x/exp/shiny/materialdesign/icons"
|
||||
)
|
||||
|
||||
@@ -366,7 +366,7 @@ func (m *Multi) Widgets() (widgets []l.Widget) {
|
||||
if i == m.inputLocation {
|
||||
// x := i
|
||||
// D.Ln("rendering editor", x)
|
||||
|
||||
|
||||
input := func(gtx l.Context) l.Dimensions {
|
||||
return m.Inset(0.25,
|
||||
m.Flex().
|
||||
|
||||
Reference in New Issue
Block a user