Skip to content

Commit 0f2e7ee

Browse files
committed
[hotfix:] Use Correct Minimap Line Height
1 parent 1109665 commit 0f2e7ee

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Example/CodeEditSourceEditorExample/CodeEditSourceEditorExample.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Sources/CodeEditSourceEditor/Minimap/MinimapLineRenderer.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ final class MinimapLineRenderer: TextLayoutManagerRenderDelegate {
2121
range: NSRange,
2222
stringRef: NSTextStorage,
2323
markedRanges: MarkedRanges?,
24-
lineBreakStrategy: LineBreakStrategy
24+
attachments: [AnyTextAttachment]
2525
) {
2626
let maxWidth: CGFloat = if let textView, textView.wrapLines {
2727
textView.layoutManager.maxLineLayoutWidth

0 commit comments

Comments
 (0)