mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-258493 Toolwindow changes for "no header mode"
Disable "header-like" background painting when debugger.new.tool.window.layout=false GitOrigin-RevId: 6098fb4ee830d19e48a5e83c75333079b3b2ca91
This commit is contained in:
committed by
intellij-monorepo-bot
parent
1b0ffbd5ab
commit
ba8ccb005f
@@ -1563,6 +1563,7 @@ public final class RunnerContentUi implements ContentUI, Disposable, CellTransfo
|
||||
@Override
|
||||
protected void paintComponent(Graphics g) {
|
||||
super.paintComponent(g);
|
||||
if (!Registry.is("debugger.new.tool.window.layout")) return;
|
||||
InternalDecorator decorator = ComponentUtil.getParentOfType(InternalDecorator.class, myComponent);
|
||||
if (decorator != null && myTabs.getTabCount() > 0) {
|
||||
UIUtil.drawHeader(g, 0, getWidth(), decorator.getHeaderHeight(), decorator.isActive(), true, false, false);
|
||||
|
||||
Reference in New Issue
Block a user