forked from mbk-lab/rui_orig
2
0
Fork 0

Bug fixing

This commit is contained in:
Alexei Anoshenko 2022-08-17 16:23:45 +03:00
parent a84be115fd
commit 39a22905f0
3 changed files with 8 additions and 10 deletions

View File

@ -484,6 +484,8 @@ func (animation *animationData) writeTransitionString(tag string, buffer *string
buffer.WriteRune('"') buffer.WriteRune('"')
buffer.WriteString(timingFunction) buffer.WriteString(timingFunction)
buffer.WriteRune('"') buffer.WriteRune('"')
} else {
buffer.WriteString(timingFunction)
} }
} }
} }

View File

@ -320,20 +320,20 @@ const (
// This is an inherited property, i.e. if it is not defined, then the value of the parent view is used. // This is an inherited property, i.e. if it is not defined, then the value of the parent view is used.
Underline = "underline" Underline = "underline"
// TextLineThickness is the constant for the "text-decoration-thickness" property tag. // TextLineThickness is the constant for the "text-line-thickness" property tag.
// The "text-decoration-thickness" SizeUnit property sets the stroke thickness of the decoration line that // The "text-line-thickness" SizeUnit property sets the stroke thickness of the decoration line that
// is used on text in an element, such as a line-through, underline, or overline. // is used on text in an element, such as a line-through, underline, or overline.
// This is an inherited property, i.e. if it is not defined, then the value of the parent view is used. // This is an inherited property, i.e. if it is not defined, then the value of the parent view is used.
TextLineThickness = "text-line-thickness" TextLineThickness = "text-line-thickness"
// TextLineStyle is the constant for the "text-decoration-style" property tag. // TextLineStyle is the constant for the "text-line-style" property tag.
// The "text-decoration-style" int property sets the style of the lines specified by "text-decoration" property. // The "text-line-style" int property sets the style of the lines specified by "text-decoration" property.
// The style applies to all lines that are set with "text-decoration" property. // The style applies to all lines that are set with "text-decoration" property.
// This is an inherited property, i.e. if it is not defined, then the value of the parent view is used. // This is an inherited property, i.e. if it is not defined, then the value of the parent view is used.
TextLineStyle = "text-line-style" TextLineStyle = "text-line-style"
// TextLineColor is the constant for the "text-decoration-color" property tag. // TextLineColor is the constant for the "text-line-color" property tag.
// The "text-decoration-color" Color property sets the color of the lines specified by "text-decoration" property. // The "text-line-color" Color property sets the color of the lines specified by "text-decoration" property.
// The color applies to all lines that are set with "text-decoration" property. // The color applies to all lines that are set with "text-decoration" property.
// This is an inherited property, i.e. if it is not defined, then the value of the parent view is used. // This is an inherited property, i.e. if it is not defined, then the value of the parent view is used.
TextLineColor = "text-line-color" TextLineColor = "text-line-color"

View File

@ -832,10 +832,6 @@ func writeViewStyle(name string, view ViewStyle, buffer *strings.Builder, indent
} }
} }
if transitions := view.Transitions(); len(transitions) > 0 {
writeProperty(Transition, transitions)
}
indent = indent[:len(indent)-1] indent = indent[:len(indent)-1]
buffer.WriteString(indent) buffer.WriteString(indent)
buffer.WriteString("}") buffer.WriteString("}")