Improve loads of fancy things in relation to the mouse pointer
This commit is contained in:
@@ -114,6 +114,6 @@ public struct EditorPresentation: Equatable, Sendable {
|
||||
/// Actual and Code edit the live buffer; Preview is a read-only view.
|
||||
public var isEditable: Bool { kind == .text && placeholder == nil && (paneMode == .code || paneMode == .actual) }
|
||||
|
||||
/// A click on a marked line opens the Diff, except on a new file where every line is marked.
|
||||
public var opensDiffOnClick: Bool { paneMode == .actual && hasDiff && status != .added }
|
||||
/// A marked line offers Show diff, except on a new file where every line is marked.
|
||||
public var offersShowDiff: Bool { paneMode == .actual && hasDiff && status != .added }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user