mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 06:50:54 +07:00
[platform] EA-753700 tabbed pane ui: do not request tab html view in invalid state
GitOrigin-RevId: 70595fe2b2a5e81f1d31237d7ecbc2a2677b9436
This commit is contained in:
committed by
intellij-monorepo-bot
parent
6f3501f3c2
commit
92a61bb5cf
@@ -394,6 +394,14 @@ public class DarculaTabbedPaneUI extends BasicTabbedPaneUI {
|
||||
};
|
||||
}
|
||||
|
||||
@Override
|
||||
protected View getTextViewForTab(int tabIndex) {
|
||||
if (tabPane.isValid()) {
|
||||
return super.getTextViewForTab(tabIndex);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected int getTabLabelShiftX(int tabPlacement, int tabIndex, boolean isSelected) {
|
||||
int delta = SELECTION_HEIGHT.get();
|
||||
|
||||
Reference in New Issue
Block a user