Skip to content

Commit

Permalink
fix remaining build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
kkoreilly committed Apr 15, 2024
1 parent ca25304 commit b485ee1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 13 deletions.
4 changes: 2 additions & 2 deletions ekube/cmd.go
Expand Up @@ -9,7 +9,7 @@ import (
"path/filepath"
"text/template"

"cogentcore.org/core/xe"
"cogentcore.org/core/exec"
)

// Build builds a Docker image for the emergent model in the current directory.
Expand All @@ -23,7 +23,7 @@ func Build(c *Config) error { //types:add
if err != nil {
return err
}
err = xe.Verbose().SetBuffer(false).Run("docker", "build", "-t", filepath.Base(c.Dir)+":latest", ".")
err = exec.Verbose().SetBuffer(false).Run("docker", "build", "-t", filepath.Base(c.Dir)+":latest", ".")
if err != nil {
return err
}
Expand Down
9 changes: 0 additions & 9 deletions erand/distsplot/gtigen.go

This file was deleted.

2 changes: 1 addition & 1 deletion netview/events.go
Expand Up @@ -128,7 +128,7 @@ func (sw *Scene) LayerUnitAtPoint(e events.Event) (lay emer.Layer, lx, ly, unInd
poff.Y = -0.5
for li, lgi := range *laysGp.Children() {
lay = nv.Net.Layer(li)
lg := lcore.(*xyz.Group)
lg := lgi.(*xyz.Group)
lp := lay.Pos()
lp.Y = -lp.Y // reverse direction
lp = lp.Sub(nmin).Mul(nsc).Sub(poff)
Expand Down
2 changes: 1 addition & 1 deletion netview/netview.go
Expand Up @@ -652,7 +652,7 @@ func (nv *NetView) ViewConfig() {
poff.Y = -0.5
for li, lgi := range *laysGp.Children() {
ly := nv.Net.Layer(li)
lg := lcore.(*xyz.Group)
lg := lgi.(*xyz.Group)
lg.ConfigChildren(gpConfig) // won't do update b/c of above
lp := ly.Pos()
lp.Y = -lp.Y // reverse direction
Expand Down

0 comments on commit b485ee1

Please sign in to comment.