feat(app): better diff/code comments (#14621)
Co-authored-by: adamelmore <2363879+adamdottv@users.noreply.github.com> Co-authored-by: David Hill <iamdavidhill@gmail.com>
This commit is contained in:
parent
9a6bfeb782
commit
fc52e4b2d3
70 changed files with 6450 additions and 3147 deletions
|
|
@ -9,7 +9,7 @@ const MAX_FILE_VIEW_SESSIONS = 20
|
|||
const MAX_VIEW_FILES = 500
|
||||
|
||||
function normalizeSelectedLines(range: SelectedLineRange): SelectedLineRange {
|
||||
if (range.start <= range.end) return range
|
||||
if (range.start <= range.end) return { ...range }
|
||||
|
||||
const startSide = range.side
|
||||
const endSide = range.endSide ?? startSide
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue