Skip to content

Custom zoom range#60

Open
ldim87 wants to merge 2 commits intomatiasgali:masterfrom
ldim87:custom_zoom
Open

Custom zoom range#60
ldim87 wants to merge 2 commits intomatiasgali:masterfrom
ldim87:custom_zoom

Conversation

@ldim87
Copy link

@ldim87 ldim87 commented Nov 11, 2016

Check it out if you want to use a slider for zooming.

Here is simple input type='range'. Min, max and value are set in callback, so the important one is only a step. You can pass max zooming value in options (maxScale).

Rotating and zooming buttons affect the slider also.

@omarqe
Copy link

omarqe commented Apr 12, 2017

Adding this.op.maxScale = typeof this.op.maxScale === 'undefined' ? 2 : this.op.maxScale; on Line 106 in jquery.guillotine.js makes it better if we don't want to initialise guillotine with maxScale parameter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants