mirror of
https://github.com/coteditor/CotEditor.git
synced 2024-09-11 11:25:57 +03:00
Fix find panel
This commit is contained in:
parent
b3efbcf6cb
commit
cb0468da37
@ -17,6 +17,7 @@ develop
|
||||
### Fixes
|
||||
|
||||
- [beta] Fix an issue where auto indent sytle detection didn't work.
|
||||
- [beta] Fix an issue where the find panel was occasionally collapsed.
|
||||
- [beta] And some trivial fixes.
|
||||
|
||||
|
||||
|
@ -70,7 +70,10 @@ final class FindPanelContentViewController: NSSplitViewController, TextFinderDel
|
||||
override func splitViewDidResizeSubviews(_ notification: Notification) {
|
||||
|
||||
// calling super's splitViewDidResizeSubviews() make app crash on Yosemite (2016-09 on macOS 10.12 SDK)
|
||||
// super.splitViewDidResizeSubviews(notification)
|
||||
if #available(macOS 10.11, *) {
|
||||
// -> Calling super's method crashes the app on Yosemite.
|
||||
super.splitViewDidResizeSubviews(notification)
|
||||
}
|
||||
|
||||
guard !self.isUncollapsing else { return }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user