- commit
- 7ee6cd111031ef82ea6e0a876a23b09a44467e04
- parent
- 90892b2700b0c9094442fc786ca6c32465b5c2f0
- author
- Dami <dami.etoile@gmail.com>
- kind
- fix risk score 1.4 of 3, Jev's estimate
| M | internal/ | 5 | ++++- |
@@ -155,7 +155,10 @@ func (e edgeSet) apply(b *Borders, l Line) {
155155 // line of r for BorderNone, as one undo step. Neighbors outside r lose156156 // the lines on the edges they share with the ones set.157157 func (s *Sheet) SetBorders(r Rect, k BorderKind, l Line) {158- label := "borders " + k.String() + " " + r.String()158+ label := k.String() + " border " + r.String() // "top border B2:C4"159+ if k <= BorderInner {160+ label = k.String() + " borders " + r.String()161+ }159162 if k == BorderNone {160163 l, label = LineNone, "remove borders from "+r.String()161164 }