Merge branch 'feature/hero_check' into 'feature/coding'
caret fix. See merge request BPHV_MIPS/mvm_core_ui!222
This commit is contained in:
commit
ebd1128ffe
@ -19,6 +19,11 @@ public final class Color: Codable {
|
||||
//--------------------------------------------------
|
||||
|
||||
public let uiColor: UIColor
|
||||
|
||||
public var cgColor: CGColor {
|
||||
return uiColor.cgColor
|
||||
}
|
||||
|
||||
public private(set) var hex: String = ""
|
||||
public private(set) var name: String = ""
|
||||
|
||||
|
||||
@ -192,6 +192,7 @@ import UIKit
|
||||
@objc public func addCaretViewAccessory() {
|
||||
guard accessoryView == nil else { return }
|
||||
caretView = CaretView(lineWidth: 1)
|
||||
caretView?.translatesAutoresizingMaskIntoConstraints = true
|
||||
caretView?.size = .small(.vertical)
|
||||
caretView?.setConstraints()
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user