Skip to content

Zoom into design image upto 100% of actual size

Rajat Jain requested to merge rj/design-magnification into master

What does this MR do?

#322936 (closed)

Fixes the zoom functionality in design management where an image won't zoom past a certain threshold and you can never get to the true 100% scale of the image.

With this change, we'd account for the natural height and width of the image to zoom in to true 100% scale.

Screenshots or Screencasts (strongly suggested)

Exisiting Current change
2021-08-25_at_10.35.46

existing design image example: #322936 (closed)

How to setup and validate locally (strongly suggested)

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

Does this MR contain changes to processing or storing of credentials or tokens, authorization and authentication methods or other items described in the security review guidelines? If not, then delete this Security section.

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by Rajat Jain

Merge request reports