Use CGColor and remove PlatformColor
This commit is contained in:
@@ -9,9 +9,9 @@ extension Math {
|
||||
var position: CGPoint = .zero
|
||||
var range: NSRange = NSRange(location: 0, length: 0)
|
||||
var hasScript: Bool = false
|
||||
var textColor: PlatformColor?
|
||||
var localTextColor: PlatformColor?
|
||||
var localBackgroundColor: PlatformColor?
|
||||
var textColor: CGColor?
|
||||
var localTextColor: CGColor?
|
||||
var localBackgroundColor: CGColor?
|
||||
|
||||
func bounds() -> CGRect {
|
||||
CGRect(x: position.x, y: position.y - descent, width: width, height: ascent + descent)
|
||||
|
||||
Reference in New Issue
Block a user