Skip to content

Commit

Permalink
fix names
Browse files Browse the repository at this point in the history
  • Loading branch information
rcoreilly committed Aug 27, 2024
1 parent ce7d4d1 commit e2ff19f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ch2/detector/detector.go
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ func (ss *Sim) ConfigGUI() {
ss.GUI.CycleUpdateInterval = 10

nv := ss.GUI.AddNetView("Network")
nv.Params.MaxRecs = 300
nv.Options.MaxRecs = 300
nv.SetNet(ss.Net)
ss.ViewUpdate.Config(nv, etime.Cycle, etime.Cycle)
ss.GUI.ViewUpdate = &ss.ViewUpdate
Expand Down
2 changes: 1 addition & 1 deletion ch3/faces/faces.go
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@ func (ss *Sim) ConfigGUI() {
ss.GUI.CycleUpdateInterval = 10

nv := ss.GUI.AddNetView("Network")
nv.Params.MaxRecs = 300
nv.Options.MaxRecs = 300
nv.SetNet(ss.Net)
ss.ViewUpdate.Config(nv, etime.Cycle, etime.Cycle)
ss.GUI.ViewUpdate = &ss.ViewUpdate
Expand Down

0 comments on commit e2ff19f

Please sign in to comment.