Improve loads of fancy things in relation to the mouse pointer

This commit is contained in:
2026-10-07 13:02:52 +02:00
parent ed5a227c9d
commit a0b3ef9975
25 changed files with 334 additions and 89 deletions
@@ -111,7 +111,7 @@ struct ContextMenuOverlay: View {
case .copyReference, .copyTerminalSelection, .pasteIntoTerminal: .plain
case .newFile, .newFolder, .stage: .add
case .copyFileName, .unstage, .revealInFinder: .modify
case .passOnReference, .passOnFileName, .openDiff, .rename: .rename
case .passOnReference, .passOnFileName, .bouwen, .openDiff, .showDiff, .rename: .rename
case .discard, .delete: .danger
}
}
@@ -119,13 +119,14 @@ struct ContextMenuOverlay: View {
nonisolated static func symbol(for action: ContextAction) -> String {
switch action {
case .passOnReference, .passOnFileName: ContextMenuRow.spark
case .bouwen: "hammer"
case .copyReference, .copyFileName, .copyTerminalSelection: "doc.on.doc"
case .pasteIntoTerminal: "doc.on.clipboard"
case .newFile: "doc.badge.plus"
case .newFolder: "folder.badge.plus"
case .stage: "plus"
case .unstage: "minus"
case .openDiff: "arrow.left.arrow.right"
case .openDiff, .showDiff: "arrow.left.arrow.right"
case .discard: "arrow.uturn.backward"
case .rename: "pencil"
case .revealInFinder: "folder"