Use the simd types where I can
This commit is contained in:
parent
edce32e021
commit
8f1e1335bd
9 changed files with 107 additions and 144 deletions
|
|
@ -222,7 +222,7 @@ public class PreferencesViewController: NSViewController {
|
|||
func postColorNotification() {
|
||||
var info = [String:Any]()
|
||||
if let item = styleMenu.selectedItem {
|
||||
info["colorStyle"] = ColorStyle(rawValue: UInt16(item.tag))
|
||||
info["colorStyle"] = ColorStyle(rawValue: UInt32(item.tag))
|
||||
}
|
||||
for (idx, cv) in colorViews.enumerated() {
|
||||
info["color\(idx)"] = cv.colorWell.color
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue