Open julianoes opened 10 months ago
Describe the bug
When I first start the example 19-fixedzoom, the scale is not fixed initially. It only starts working once I deselect pan or change something else. I think that's because plane.fixedZoom is never set until changeScale() is called.
plane.fixedZoom
changeScale()
To Reproduce Steps to reproduce the behavior:
Relevant Code or Code Sandbox
https://github.com/jscastro76/threebox/blob/b5473d7fbe3697ed1b125dc1e02836feeedafe3d/examples/19-fixedzoom.html#L147-L148
Describe the bug
When I first start the example 19-fixedzoom, the scale is not fixed initially. It only starts working once I deselect pan or change something else. I think that's because
plane.fixedZoom
is never set untilchangeScale()
is called.To Reproduce Steps to reproduce the behavior:
Relevant Code or Code Sandbox
https://github.com/jscastro76/threebox/blob/b5473d7fbe3697ed1b125dc1e02836feeedafe3d/examples/19-fixedzoom.html#L147-L148