diff --git a/src/js/pannellum.js b/src/js/pannellum.js index 50f9d69..d34d768 100644 --- a/src/js/pannellum.js +++ b/src/js/pannellum.js @@ -1913,9 +1913,9 @@ function constrainHfov(hfov) { if (config.type == 'multires' && renderer) { minHfov = Math.min(minHfov, renderer.getCanvas().width / (config.multiRes.cubeResolution / 90 * 0.9)); } - if (minHfov >= config.maxHfov) { + if (minHfov > config.maxHfov) { // Don't change view if bounds don't make sense - console.log('HFOV bounds do not make sense (minHfov >= maxHfov).') + console.log('HFOV bounds do not make sense (minHfov > maxHfov).') return config.hfov; } if (hfov < minHfov) { return minHfov;