Commit e4da7356 by Daniel Dahan

development: added the ability for shapePreset to adjust the sizing correctly…

development: added the ability for shapePreset to adjust the sizing correctly when being set as a reinforcement
parent 3cb09fa1
......@@ -56,7 +56,11 @@ internal class MaterialLayer {
}
/// A preset property to set the shape.
internal var shapePreset = ShapePreset.none
internal var shapePreset = ShapePreset.none {
didSet {
layer?.layoutShape()
}
}
/// A preset value for Depth.
internal var depthPreset: DepthPreset {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment