diff --git a/Classes/Base.lproj/PresetEditorViewController.xib b/Classes/Base.lproj/PresetEditorViewController.xib
index 0ee3b8c..430599e 100755
--- a/Classes/Base.lproj/PresetEditorViewController.xib
+++ b/Classes/Base.lproj/PresetEditorViewController.xib
@@ -26,7 +26,7 @@
-
+
@@ -158,13 +158,13 @@
-
+
-
+
-
+
@@ -209,7 +209,7 @@
-
+
@@ -223,11 +223,11 @@
-
+
-
+
@@ -249,11 +249,11 @@
-
+
-
+
@@ -272,11 +272,11 @@
-
+
-
+
@@ -301,11 +301,11 @@
-
+
-
+
-
+
@@ -362,7 +362,7 @@
-
+
@@ -370,12 +370,12 @@
-
+
-
+
@@ -404,7 +404,10 @@
diff --git a/Classes/PrefsWindowController.swift b/Classes/PrefsWindowController.swift
index ba6d11c..4842cd0 100644
--- a/Classes/PrefsWindowController.swift
+++ b/Classes/PrefsWindowController.swift
@@ -121,8 +121,13 @@ import Cocoa
if window.isVisible && animate {
NSAnimationContext.runAnimationGroup({ context in
- context.allowsImplicitAnimation = true
- context.duration = duration
+ if #available(OSX 10.11, *) {
+ context.allowsImplicitAnimation = true
+ context.duration = duration
+ }
+ else {
+ context.duration = 0
+ }
window.layoutIfNeeded()
view.isHidden = true
}, completionHandler: {
diff --git a/Classes/PresetManager.swift b/Classes/PresetManager.swift
index b53e31a..eca9ef2 100644
--- a/Classes/PresetManager.swift
+++ b/Classes/PresetManager.swift
@@ -175,7 +175,6 @@ extension PresetManager.Error: LocalizedError {
try save(preset: preset)
}
}
-
}
}