mirror of https://github.com/anoshenko/rui.git
Merge pull request #18 from anoshenko/bug-fixes/writing-mode-property-fix
This commit is contained in:
commit
087a504c55
|
|
@ -303,7 +303,7 @@ func writeViewStyleCSS(style Properties, builder cssBuilder, session Session, ig
|
|||
if data, ok := enumProperties[tag]; ok {
|
||||
if tag != VerticalTextOrientation || (writingMode != VerticalLeftToRight && writingMode != VerticalRightToLeft) {
|
||||
if value, ok := enumProperty(style, tag, session, 0); ok {
|
||||
cssValue := data.values[value]
|
||||
cssValue := data.cssValues[value]
|
||||
if cssValue != "" {
|
||||
builder.add(data.cssTag, cssValue)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue