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 58030bb commit fa69a42Copy full SHA for fa69a42
Sources/CodeEditSourceEditor/Minimap/MinimapView.swift
@@ -286,8 +286,9 @@ public class MinimapView: FlippedNSView {
286
).pixelAligned
287
288
// Only update a frame if needed
289
- if contentView.frame != newFrame && height.isFinite && height < (textView?.frame.height ?? 0.0) {
+ if contentView.frame.height != newFrame.height && height.isFinite && height < (textView?.frame.height ?? 0.0) {
290
contentView.frame = newFrame
291
+ layout()
292
}
293
294
0 commit comments