mirror of
https://github.com/cds-astro/aladin-lite.git
synced 2025-12-12 07:40:26 -08:00
clean getFov
This commit is contained in:
committed by
Matthieu Baumann
parent
d2b444250e
commit
c2dc476321
@@ -1593,9 +1593,6 @@ export let Aladin = (function () {
|
||||
var fovX = this.view.fov;
|
||||
var s = this.getSize();
|
||||
var fovY = s[1] / s[0] * fovX;
|
||||
fovX = Math.min(fovX);
|
||||
fovY = Math.min(fovY);
|
||||
|
||||
return [fovX, fovY];
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user