fix(webui): surface centering on resize
ci/woodpecker/push/woodpecker Pipeline was successful
Details
ci/woodpecker/push/woodpecker Pipeline was successful
Details
parent
a5b4d13bb1
commit
8793691cbb
|
@ -185,7 +185,8 @@
|
|||
selectorCoords = [currentX, currentY];
|
||||
});
|
||||
|
||||
zoom.translateBy(view, viewWidth / 2, viewHeight / -2);
|
||||
zoom.translateTo(view, viewWidth / -2, viewHeight / 2, [0, 0]);
|
||||
zoom.scaleTo(view, 1);
|
||||
|
||||
loaded = true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue