mirror of
https://github.com/desktop/desktop
synced 2024-10-31 11:07:25 +00:00
Fix diff line prefixes in side-by-side view
This commit is contained in:
parent
7517283d5d
commit
4d434f78e4
1 changed files with 2 additions and 2 deletions
|
@ -277,12 +277,12 @@ export class SideBySideDiffRow extends React.Component<
|
||||||
>
|
>
|
||||||
<div className={beforeClasses}>
|
<div className={beforeClasses}>
|
||||||
{this.renderLineNumber(lineNumber, DiffColumn.Before, isSelected)}
|
{this.renderLineNumber(lineNumber, DiffColumn.Before, isSelected)}
|
||||||
{this.renderContent(row.data)}
|
{this.renderContent(row.data, DiffRowPrefix.Deleted)}
|
||||||
{this.renderWhitespaceHintPopover(DiffColumn.Before)}
|
{this.renderWhitespaceHintPopover(DiffColumn.Before)}
|
||||||
</div>
|
</div>
|
||||||
<div className={afterClasses}>
|
<div className={afterClasses}>
|
||||||
{this.renderLineNumber(undefined, DiffColumn.After)}
|
{this.renderLineNumber(undefined, DiffColumn.After)}
|
||||||
{this.renderContentFromString('', [], DiffRowPrefix.Deleted)}
|
{this.renderContentFromString('', [])}
|
||||||
{this.renderWhitespaceHintPopover(DiffColumn.After)}
|
{this.renderWhitespaceHintPopover(DiffColumn.After)}
|
||||||
</div>
|
</div>
|
||||||
{this.renderHunkHandle()}
|
{this.renderHunkHandle()}
|
||||||
|
|
Loading…
Reference in a new issue