Merge branch 'feature/hero_check' into 'feature/coding'

caret fix.

See merge request BPHV_MIPS/mvm_core_ui!222
This commit is contained in:
Pfeil, Scott Robert 2020-01-15 16:37:34 -05:00
commit ebd1128ffe
2 changed files with 6 additions and 0 deletions

View File

@ -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 = ""

View File

@ -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()