diff --git a/src/components/Diff.svelte b/src/components/Diff.svelte index 887927d50..9599a6b43 100644 --- a/src/components/Diff.svelte +++ b/src/components/Diff.svelte @@ -273,10 +273,13 @@ position: relative; cursor: cell; } - .left:hover, - .right:hover, - .left:active, - .right:active { + .selection-disabled { + cursor: default; + } + .left:hover:not(.selection-disabled), + .right:hover:not(.selection-disabled), + .left:active:not(.selection-disabled), + .right:active:not(.selection-disabled) { color: var(--color-foreground-contrast); } .sign { @@ -356,6 +359,7 @@ isSelected(filePath(file, "left"), hunkIdx, lineIdx)}>
{ @@ -368,6 +372,7 @@
{