diff options
| author | Sam Anthony <sam@samanthony.xyz> | 2026-03-03 16:53:33 -0500 |
|---|---|---|
| committer | Sam Anthony <sam@samanthony.xyz> | 2026-03-03 16:53:33 -0500 |
| commit | 3bf8aad8aa51a2e3eed979ffdf182f4676a665b3 (patch) | |
| tree | b5f50a1d13bd0b3c99f5d5e890105552ce275628 | |
| parent | 483236742ddcd7883b5f9cff92244129274aa79c (diff) | |
| download | gui-3bf8aad8aa51a2e3eed979ffdf182f4676a665b3.zip | |
lay/strain: remove TODO
Decided it's better to log an error and continue rather than abort
early.
| -rw-r--r-- | lay/strain/solve.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lay/strain/solve.go b/lay/strain/solve.go index 620998f..89270ed 100644 --- a/lay/strain/solve.go +++ b/lay/strain/solve.go @@ -98,7 +98,6 @@ func NewSolver(styl *style.Style, constraints []<-chan Constraint) (*Solver, err constr, fieldIdx := tc.Val, tc.Tag err := s.addSizeConstraint(constr, fieldIdx) if err != nil { - // TODO: run the solver in a golang.org/x/sync/errgroup rather than just logging errors. log.Err.Printf("error adding layout constraint %#v from field %d: %v\n", constr, fieldIdx, err) } |