Update VerticalDiffBlock.kt
This commit is contained in:
parent
0db7802d78
commit
7314cdbe14
1 changed files with 2 additions and 2 deletions
|
|
@ -134,7 +134,7 @@ class VerticalDiffBlock(
|
|||
|
||||
private fun createButtons(): Pair<JButton, JButton> {
|
||||
val rejectBtn =
|
||||
createButton("${getAltKeyLabel()}⇧N", JBColor(0x99FF0000.toInt(), 0x99FF0000.toInt())).apply {
|
||||
createButton("${getAltKeyLabel()}↑N", JBColor(0x99FF0000.toInt(), 0x99FF0000.toInt())).apply {
|
||||
addActionListener {
|
||||
handleReject();
|
||||
onAcceptReject(this@VerticalDiffBlock, false)
|
||||
|
|
@ -143,7 +143,7 @@ class VerticalDiffBlock(
|
|||
}
|
||||
|
||||
val acceptBtn =
|
||||
createButton("${getAltKeyLabel()}⇧Y", JBColor(0x9900FF00.toInt(), 0x9900FF00.toInt())).apply {
|
||||
createButton("${getAltKeyLabel()}↑Y", JBColor(0x9900FF00.toInt(), 0x9900FF00.toInt())).apply {
|
||||
addActionListener {
|
||||
handleAccept();
|
||||
onAcceptReject(this@VerticalDiffBlock, true)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue