mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-05-23 14:06:28 +02:00
[ui] GraphEditor: fix typo
This commit is contained in:
parent
185c32fe21
commit
adf59e56fa
1 changed files with 1 additions and 1 deletions
|
@ -316,7 +316,7 @@ Item {
|
||||||
// Fit graph to fill root
|
// Fit graph to fill root
|
||||||
function fit() {
|
function fit() {
|
||||||
// compute bounding box
|
// compute bounding box
|
||||||
var bbox = boudingBox()
|
var bbox = boundingBox()
|
||||||
// rescale
|
// rescale
|
||||||
draggable.scale = Math.min(root.width/bbox.width, root.height/bbox.height)
|
draggable.scale = Math.min(root.width/bbox.width, root.height/bbox.height)
|
||||||
// recenter
|
// recenter
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue