fix: hide minimize and fullscreen thumbnail buttons for tabs
This commit is contained in:
1 parent
f2305429c4
commit
b62c422959
1 file changed
+2
-1
@@ -79,7 +79,8 @@ class ThumbnailView: NSStackView {
|
||||
[quitIcon, closeIcon, minimizeIcon, maximizeIcon].forEach { icon in
|
||||
icon.isHidden = !shouldShow ||
|
||||
((window_?.isWindowlessApp ?? true) && icon.type != .quit) ||
|
||||
(icon.type == .quit && window_?.application.runningApplication.bundleIdentifier == "com.apple.finder" && !Preferences.finderShowsQuitMenuItem)
|
||||
(icon.type == .quit && window_?.application.runningApplication.bundleIdentifier == "com.apple.finder" && !Preferences.finderShowsQuitMenuItem) ||
|
||||
((icon.type == .miniaturize || icon.type == .fullscreen) && (window_?.isTabbed ?? true))
|
||||
if !icon.isHidden {
|
||||
icon.setFrameOrigin(NSPoint(
|
||||
x: xOffset,
|
||||
|
||||
Reference in new issue
Block a user