mirror of
https://github.com/Eugeny/tabby.git
synced 2025-06-08 21:40:03 +00:00
fixed #280 - added option to hide tabs in fullscreen mode
This commit is contained in:
parent
78b17d3980
commit
d736bdace4
@ -9,7 +9,10 @@ title-bar(
|
|||||||
[class.tabs-on-top]='config.store.appearance.tabsLocation == "top" || config.store.appearance.tabsLocation == "left"',
|
[class.tabs-on-top]='config.store.appearance.tabsLocation == "top" || config.store.appearance.tabsLocation == "left"',
|
||||||
[class.tabs-on-side]='hasVerticalTabs()',
|
[class.tabs-on-side]='hasVerticalTabs()',
|
||||||
)
|
)
|
||||||
.tab-bar((dblclick)='hostWindow.toggleMaximize()')
|
.tab-bar(
|
||||||
|
*ngIf='!hostWindow.isFullscreen || config.store.appearance.tabsInFullscreen',
|
||||||
|
(dblclick)='hostWindow.toggleMaximize()'
|
||||||
|
)
|
||||||
.inset.background(*ngIf='hostApp.platform == Platform.macOS \
|
.inset.background(*ngIf='hostApp.platform == Platform.macOS \
|
||||||
&& !hostWindow.isFullscreen \
|
&& !hostWindow.isFullscreen \
|
||||||
&& config.store.appearance.frame == "thin" \
|
&& config.store.appearance.frame == "thin" \
|
||||||
|
@ -9,6 +9,7 @@ appearance:
|
|||||||
dockAlwaysOnTop: true
|
dockAlwaysOnTop: true
|
||||||
flexTabs: false
|
flexTabs: false
|
||||||
tabsLocation: top
|
tabsLocation: top
|
||||||
|
tabsInFullscreen: false
|
||||||
cycleTabs: true
|
cycleTabs: true
|
||||||
theme: Standard
|
theme: Standard
|
||||||
frame: thin
|
frame: thin
|
||||||
|
@ -277,6 +277,15 @@ h3.mt-4(translate) Tabs
|
|||||||
)
|
)
|
||||||
span(translate) Fixed
|
span(translate) Fixed
|
||||||
|
|
||||||
|
.form-line
|
||||||
|
.header
|
||||||
|
.title(translate) Show tabs in fullscreen mode
|
||||||
|
|
||||||
|
toggle(
|
||||||
|
[(ngModel)]='config.store.appearance.tabsInFullscreen',
|
||||||
|
(ngModelChange)='config.save();',
|
||||||
|
)
|
||||||
|
|
||||||
.form-line
|
.form-line
|
||||||
.header
|
.header
|
||||||
.title(translate) Hide tab index
|
.title(translate) Hide tab index
|
||||||
|
Loading…
x
Reference in New Issue
Block a user