mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Fix RIDER-43771 (Wrong text color for unfocused stack)
GitOrigin-RevId: d0d1eb59e6bdc23bbb90d4c906050b155d948927
This commit is contained in:
committed by
intellij-monorepo-bot
parent
fecc1be202
commit
74f17ceed6
@@ -211,6 +211,8 @@ public class XDebuggerFramesList extends DebuggerFramesList {
|
||||
}
|
||||
else if (Registry.is("debugger.new.debug.tool.window.view")){
|
||||
setBackground(UIUtil.getListSelectionBackground(hasFocus));
|
||||
setForeground(UIUtil.getListSelectionForeground(hasFocus));
|
||||
mySelectionForeground = getForeground();
|
||||
}
|
||||
|
||||
stackFrame.customizePresentation(this);
|
||||
|
||||
+5
-2
@@ -129,6 +129,11 @@ class XDebuggerThreadsList(private val renderer: ListCellRenderer<StackInfo>) :
|
||||
hasFocus: Boolean
|
||||
) {
|
||||
val stack = value ?: return
|
||||
if (selected) {
|
||||
background = UIUtil.getListSelectionBackground(hasFocus)
|
||||
foreground = UIUtil.getListSelectionForeground(hasFocus)
|
||||
mySelectionForeground = foreground
|
||||
}
|
||||
when (stack.kind) {
|
||||
StackInfo.StackKind.ExecutionStack -> {
|
||||
append(stack.toString())
|
||||
@@ -137,8 +142,6 @@ class XDebuggerThreadsList(private val renderer: ListCellRenderer<StackInfo>) :
|
||||
StackInfo.StackKind.Error,
|
||||
StackInfo.StackKind.Loading -> append(stack.toString())
|
||||
}
|
||||
if (selected)
|
||||
background = UIUtil.getListSelectionBackground(hasFocus)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user