mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-23 15:57:57 +00:00
mermaid: apply PR18 #145
This commit is contained in:
parent
d673f413be
commit
de1cfc1a2d
1 changed files with 3 additions and 1 deletions
|
@ -4,6 +4,8 @@
|
||||||
Base: jQuery SVG Pan Zoom v1.0.3, October 2015 (labeled v1.0.2, June 2015)
|
Base: jQuery SVG Pan Zoom v1.0.3, October 2015 (labeled v1.0.2, June 2015)
|
||||||
McShelby.hugo-theme-relearn:
|
McShelby.hugo-theme-relearn:
|
||||||
Change 1: OnMouseUp restore image cursor (not document cursor)
|
Change 1: OnMouseUp restore image cursor (not document cursor)
|
||||||
|
Change 2: add PR #18
|
||||||
|
|
||||||
|
|
||||||
Author: Daniel Hoffmann Bernardes (daniel.hoffmann.bernardes@gmail.com)
|
Author: Daniel Hoffmann Bernardes (daniel.hoffmann.bernardes@gmail.com)
|
||||||
|
|
||||||
|
@ -488,7 +490,7 @@ Copyright (C) 2014 Daniel Hoffmann Bernardes, Ícaro Technologies
|
||||||
x: viewBox.x + viewBox.width / 2,
|
x: viewBox.x + viewBox.width / 2,
|
||||||
y: viewBox.y + viewBox.height / 2
|
y: viewBox.y + viewBox.height / 2
|
||||||
};
|
};
|
||||||
this.setViewBox(center.x - newWidth / 2, center.y - newWidth / 2, newWidth, newHeight, animationTime);
|
this.setViewBox(center.x - newWidth / 2, center.y - newHeight / 2, newWidth, newHeight, animationTime);
|
||||||
};
|
};
|
||||||
opts.setCenter = function(x, y, animationTime) {
|
opts.setCenter = function(x, y, animationTime) {
|
||||||
if (animationTime == null) {
|
if (animationTime == null) {
|
||||||
|
|
Loading…
Reference in a new issue