mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
disabling tab reordering for tabs in multiple rows
This commit is contained in:
@@ -53,7 +53,12 @@ public class JBEditorTabs extends JBTabsImpl {
|
||||
super.paintLastGhost(g2d);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public boolean isTabDraggingEnabled() {
|
||||
return super.isTabDraggingEnabled() && isSingleRow();
|
||||
}
|
||||
|
||||
public boolean isGhostsAlwaysVisible() {
|
||||
return super.isGhostsAlwaysVisible() && !isEditorTabs();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user