We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2215aa3 commit 26edd07Copy full SHA for 26edd07
Sources/CodeEditSourceEditor/Controller/TextViewController+StyleViews.swift
@@ -96,7 +96,7 @@ extension TextViewController {
96
minimapView.scrollView.contentInsets.bottom += additionalTextInsets?.bottom ?? 0
97
98
// Inset the top by the find panel height
99
- let findInset = (findViewController?.isShowingFindPanel ?? false) ? FindPanel.height : 0
+ let findInset = (findViewController?.isShowingFindPanel ?? false) ? findViewController?.panelHeight ?? 0 : 0
100
scrollView.contentInsets.top += findInset
101
minimapView.scrollView.contentInsets.top += findInset
102
0 commit comments