mirror of
https://github.com/zadam/trilium.git
synced 2024-11-11 01:23:57 +08:00
fix zooming speed, closes #4121
This commit is contained in:
parent
ddf75cd5e5
commit
04813743e2
1 changed files with 2 additions and 2 deletions
|
@ -145,8 +145,8 @@ function renderImage(entity, $renderedContent, options = {}) {
|
|||
if (options.imageHasZoom) {
|
||||
libraryLoader.requireLibrary(libraryLoader.WHEEL_ZOOM).then(() => {
|
||||
WZoom.create(`#${$img.attr("id")}`, {
|
||||
maxScale: 10,
|
||||
speed: 20,
|
||||
maxScale: 50,
|
||||
speed: 1.3,
|
||||
zoomOnClick: false
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue