Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • ristretto ristretto
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Graph
    • Compare revisions
  • Issues 34
    • Issues 34
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • AppsApps
  • ristrettoristretto
  • Merge requests
  • !29

Allow to choose the default scale

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Gaël Bonithon requested to merge Tamaranch/ristretto:allow-choose-default-scale into master Sep 19, 2021
  • Overview 0
  • Commits 1
  • Pipelines 1
  • Changes 4

This adds a radio menu bound to a new setting "default-zoom", which applies to images displayed for the first time. To the current behavior called "smart", which remains the default, are added "fit-to-view" and "real-size".

If this setting is changed when an image list is already loaded, the scale is reset for all images. This is probably what is expected in general, and typically when switching from windowed to fullscreen mode, using "smart" or "real-size" for the former, and "fit-to-view" for the latter.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: allow-choose-default-scale