Repository navigation
Simulator: Scale menu (100 % = pixel for pixel) - #187
Merged
Merged
Conversation
Scale > 50 %, 75 %, 100 % sizes the window so that one guest pixel takes that share of the Mac's own pixels (100 %: the guest's picture pixel for pixel, from the panel's live width and the screen's backing scale); Fit to Screen makes it as large as the screen allows. The window keeps its centre and its top on the screen; at 100 % an iPad runs off the bottom of a laptop's. Assisted-by: LLM
- The tick is worked out as the menu opens, from the window's zoom: after resizing the window off a scale, no scale is ticked. - Switching the device or turning it re-applies the chosen scale when the window was still at it, so 100 % stays pixel for pixel on the new panel and Fit to Screen fits again; resized off it, the window keeps its zoom. - A scale is reckoned from the profile's panel, not the guest's last picture, which is still the old device's right after a switch. Assisted-by: LLM
The app menu gets the Mac's Hide, Hide Others and Show All; as menu key equivalents they are the Mac's before Command reaches the guest as Super. Assisted-by: LLM
Assisted-by: LLM
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A Scale menu in the Orchard Simulator's menu bar:
The window keeps its centre, and its top stays on screen. At 100 % an iPad (2048 pixels tall) runs off the bottom of a laptop screen; that's expected.
Tested: it builds cleanly, and the simulator runs with it. The sizes aren't measured on screen yet.