Skip to content

Commit 770a54e

Browse files
committed
Fix for shadow attribute
1 parent ef14a45 commit 770a54e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SwiftRichString/Style/Style.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ public class Style: StyleProtocol {
334334
/// The value of this attribute is an `NSShadow` object. The default value of this property is nil.
335335
public var shadow: NSShadow? {
336336
set {
337-
self.set(attribute: shadow, forKey: .shadow)
337+
self.set(attribute: newValue, forKey: .shadow)
338338
}
339339
get {
340340
return self.get(attributeForKey: .shadow)

0 commit comments

Comments
 (0)