mirror of https://github.com/anoshenko/rui.git
Fixed incorrect type of polygon clip shape while converting it to a string
This commit is contained in:
parent
561164bc23
commit
e96b9193cc
|
@ -506,7 +506,7 @@ func (clip *polygonClipData) points() []any {
|
|||
|
||||
func (clip *polygonClipData) writeString(buffer *strings.Builder, indent string) {
|
||||
|
||||
buffer.WriteString("inset { ")
|
||||
buffer.WriteString("polygon { ")
|
||||
|
||||
if points := clip.points(); points != nil {
|
||||
buffer.WriteString(string(Points))
|
||||
|
|
Loading…
Reference in New Issue