fix typo
This commit is contained in:
parent
e588b86c04
commit
9302a14e02
2 changed files with 2 additions and 3 deletions
|
|
@ -43,7 +43,6 @@ const (
|
|||
)
|
||||
|
||||
var multipleOffset = geo.NewVector(10, -10)
|
||||
var borderOffset = geo.NewVector(5, 5)
|
||||
|
||||
//go:embed tooltip.svg
|
||||
var TooltipIcon string
|
||||
|
|
@ -593,7 +592,7 @@ func renderOval(tl *geo.Point, width, height float64, style string) string {
|
|||
}
|
||||
|
||||
func renderDoubleOval(tl *geo.Point, width, height float64, style string) string {
|
||||
var innerTL *geo.Point = tl.AddVector(borderOffset)
|
||||
var innerTL *geo.Point = tl.AddVector(d2target.BorderOffset)
|
||||
return renderOval(tl, width, height, style) + renderOval(innerTL, width-10, height-10, style)
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ const (
|
|||
MULTIPLE_OFFSET = 10
|
||||
)
|
||||
|
||||
var borderOffset = geo.NewVector(5, 5)
|
||||
var BorderOffset = geo.NewVector(5, 5)
|
||||
|
||||
type Diagram struct {
|
||||
Name string `json:"name"`
|
||||
|
|
|
|||
Loading…
Reference in a new issue