Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to zoom in/out on all images #38538

Merged
merged 3 commits into from
Jan 23, 2018
Merged

Add ability to zoom in/out on all images #38538

merged 3 commits into from
Jan 23, 2018

Commits on Dec 10, 2017

  1. Configuration menu
    Copy the full SHA
    4eadd5b View commit details
    Browse the repository at this point in the history
  2. Update image viewer to allow pinch or click to zoom

    Images are now always centered in the window. They initially start at
    their native size, unless they would be larger than the window, in which
    case they are contained within the window. Clicking increases the
    zoom, and alt+click decreases it. Pinch to zoom and ctrl+scroll are also
    supported.
    bschlenk committed Dec 10, 2017
    Configuration menu
    Copy the full SHA
    eed9d42 View commit details
    Browse the repository at this point in the history
  3. Update resourceViewer to improve image viewing experience

    ResourceViewer now holds a cache of image scales so they stay the same
    while flipping between editor tabs. Right clicking now returns the image
    to its original scale. Pixelation only triggers for images 64x64 or
    smaller, and only after the first zoom. Editor risizing is handled
    thorugh the layout call to the binary editor, passed down to the
    resource viewer.
    bschlenk committed Dec 10, 2017
    Configuration menu
    Copy the full SHA
    f07d3a8 View commit details
    Browse the repository at this point in the history