Skip to content

Commit 9f8689e

Browse files
committed
fix(ui): remove foreground color changes in SingleFileDiffView
Removed foreground color changes on mouse enter/exit in SingleFileDiffView to simplify UI behavior and avoid potential visual inconsistencies.
1 parent d85d802 commit 9f8689e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

core/src/main/kotlin/cc/unitmesh/devti/sketch/ui/patch/SingleFileDiffView.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,10 @@ class SingleFileDiffView(
6262
}
6363

6464
override fun mouseEntered(e: MouseEvent) {
65-
foreground = JBColor.WHITE
6665
patchActionPanel?.background = JBColor(DarculaColors.BLUE, DarculaColors.BLUE)
6766
}
6867

6968
override fun mouseExited(e: MouseEvent) {
70-
foreground = JBColor.BLACK
7169
patchActionPanel?.background = JBColor.PanelBackground
7270
}
7371
})

0 commit comments

Comments
 (0)