mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-120266 Add a registry key for showing tabs when in presentation mode
GitOrigin-RevId: 19922e36072e183fc93110150f5cdab557d7d7ff
This commit is contained in:
committed by
intellij-monorepo-bot
parent
afcd98a71d
commit
04f8faa8e6
@@ -501,7 +501,8 @@ class EditorWindow internal constructor(val owner: EditorsSplitters, private val
|
||||
|
||||
fun updateTabsVisibility(settings: UISettings = UISettings.getInstance()) {
|
||||
tabbedPane.tabs.presentation.isHideTabs = (owner.isFloating && this.tabCount == 1 && shouldHideTabs(selectedComposite)) ||
|
||||
settings.editorTabPlacement == UISettings.TABS_NONE || settings.presentationMode
|
||||
settings.editorTabPlacement == UISettings.TABS_NONE ||
|
||||
(settings.presentationMode && !Registry.`is`("ide.editor.tabs.visible.in.presentation.mode"))
|
||||
}
|
||||
|
||||
fun closeAllExcept(selectedFile: VirtualFile?) {
|
||||
|
||||
Reference in New Issue
Block a user