You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After last update 2.16.0 a depthPreset property stop working for circle shapePreset. This is because after installing a depthPreset CALayer calls layoutShape() method. In this method, maskToBounds property always is true for circle shapePreset. If I change maskToBounds = false, all working fine.
@DanielDahan I confirm that FABButton has no depth after b90ee8a as explained in the issue.
Basically we have no control over layer.masksToBounds property as it's overridden on layout cycle. Only workaround is to subclass FABButton (or any affected component) and change the property there.
masksToBounds = true should actually be removed. It is incorrectly being placed on the wrong layer. It should be added to the visualLayer. I will fix this as I know the complexity of its behaviour well. I will work on this tonight. Thank you!
After last update 2.16.0 a
depthPreset
property stop working for circleshapePreset
. This is because after installing adepthPreset
CALayer
callslayoutShape()
method. In this method,maskToBounds
property always is true for circleshapePreset
. If I changemaskToBounds = false
, all working fine.The text was updated successfully, but these errors were encountered: