Skip to content
This repository has been archived by the owner on Mar 6, 2024. It is now read-only.

Commit

Permalink
3.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Jul 4, 2019
1 parent c184ba5 commit 93d6752
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Touch Bar Simulator/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 2 additions & 0 deletions Touch Bar Simulator/TouchBarWindow.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,10 @@ final class TouchBarWindow: NSPanel {
case .dockedToBottom:
window.removeTitlebar()
}

reposition(window: window)
}

func reposition(window: NSWindow) {
switch self {
case .floating:
Expand Down
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.

Expand Down
Binary file modified screenshot-menu-bar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 93d6752

Please sign in to comment.