In case of CGFloat treated as Float.
This commit is contained in:
parent
f4dbe5d62f
commit
948da9719c
|
@ -81,7 +81,7 @@ public class Setting<T: AnyObject, Key: KeyPathRepresentable>: ExpressibleByDict
|
|||
case let value as Int:
|
||||
return Double(value)
|
||||
case let value as CGFloat:
|
||||
return value.native
|
||||
return Double(value)
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue