We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bf2e4fe + b39b3c8 commit fe3a83fCopy full SHA for fe3a83f
Sources/FlexLayout.swift
@@ -116,9 +116,12 @@ public final class Flex {
116
This property controls dynamically if a flexbox's UIView is included or not in the flexbox layouting. When a
117
flexbox's UIView is excluded, FlexLayout won't layout the view and its children views.
118
*/
119
- public var isIncludedInLayout: Bool = true {
120
- didSet {
121
- yoga.isIncludedInLayout = isIncludedInLayout
+ public var isIncludedInLayout: Bool {
+ get {
+ return yoga.isIncludedInLayout
122
+ }
123
+ set {
124
+ yoga.isIncludedInLayout = newValue
125
}
126
127
0 commit comments