This commit is contained in:
Sindre Sorhus 2019-07-03 13:04:52 +07:00
parent c184ba5cc5
commit 93d67526f2
4 changed files with 6 additions and 4 deletions

View file

@ -13,9 +13,9 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>3.1.0</string>
<string>3.2.0</string>
<key>CFBundleVersion</key>
<string>4</string>
<string>5</string>
<key>LSApplicationCategoryType</key>
<string>public.app-category.developer-tools</string>
<key>LSMinimumSystemVersion</key>

View file

@ -14,8 +14,10 @@ final class TouchBarWindow: NSPanel {
case .dockedToBottom:
window.removeTitlebar()
}
reposition(window: window)
}
func reposition(window: NSWindow) {
switch self {
case .floating:

View file

@ -4,11 +4,11 @@
Launch the Touch Bar simulator from anywhere without needing to have Xcode installed, whereas Apple requires you to launch it from inside Xcode. It also comes with a handy transparency slider, a screenshot button, and a menu bar icon and system service to toggle the Touch Bar with a click or keyboard shortcut.
<img src="screenshot-menu-bar.png" width="379" height="283" align="left">
<img src="screenshot-menu-bar.png" width="277" align="left">
Clicking the menu bar icon toggles the Touch Bar window.
Right-clicking or option-clicking the menu bar icon displays a menu with options to dock the window to the top or bottom of the screen, make it show on all desktops at once, access toolbar features in docked mode, or quit the app.
Right-clicking or option-clicking the menu bar icon displays a menu with options to dock the window to the top or bottom of the screen, make it show on all desktops at once, access toolbar features in docked mode, automatically show and hide the Touch Bar, or quit the app.
You can add a toggle shortcut in `System Preferences``Keyboard``Shortcuts``Services``Toggle Touch Bar`.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 400 KiB

After

Width:  |  Height:  |  Size: 291 KiB