mirror of
https://github.com/exyte/Macaw.git
synced 2024-09-11 05:05:23 +03:00
Fix layer inset issue
This commit is contained in:
parent
bb47def337
commit
496ef399d1
@ -40,9 +40,11 @@ open class MacawView: MView {
|
|||||||
get { return drawingView.placeVar }
|
get { return drawingView.placeVar }
|
||||||
}
|
}
|
||||||
|
|
||||||
open override var frame: CGRect {
|
override open var frame: CGRect {
|
||||||
get { return drawingView.frame }
|
didSet {
|
||||||
set { drawingView.frame = newValue }
|
super.frame = frame
|
||||||
|
drawingView.frame = frame
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
override open var intrinsicContentSize: CGSize {
|
override open var intrinsicContentSize: CGSize {
|
||||||
|
Loading…
Reference in New Issue
Block a user