10000 let it not be reduced again · Issue #100 · fat/zoom.js · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
let it not be reduced again #100
Open
@kohunglee

Description

@kohunglee

If the magnification of the image is less than 1 after calculation, or the image in the web page is larger than its own size, let it not be reduced again, so as to prevent the strange effect that the image is not "zoom" but reduced after clicking
as this: this._imgScaleFactor = (this._imgScaleFactor<1) ? 1 : this._imgScaleFactor

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0