improvedment
This commit is contained in:
parent
1ac94059db
commit
2b065d1b80
@ -103,10 +103,7 @@ open class CaretLink: Button, MVMCoreUIViewConstrainingProtocol {
|
||||
let width = CGFloat(rightViewWidth?.floatValue ?? CARET_VIEW_WIDTH)
|
||||
let height = CGFloat(rightViewHeight?.floatValue ?? CARET_VIEW_HEIGHT)
|
||||
|
||||
contentEdgeInsets = UIEdgeInsets(top: contentEdgeInsets.top,
|
||||
left: contentEdgeInsets.left,
|
||||
bottom: contentEdgeInsets.bottom,
|
||||
right: 4 + width)
|
||||
contentEdgeInsets.right = 4 + width
|
||||
|
||||
let caretView: UIView = rightView ?? createCaretView()
|
||||
rightView = caretView
|
||||
|
||||
Loading…
Reference in New Issue
Block a user