mirror of
https://github.com/openseadragon/openseadragon.git
synced 2025-04-01 12:56:12 +03:00
return clone of bounds in Overlay.getBounds so original bounds wouldn't be affected
This commit is contained in:
parent
06d263b4be
commit
7bcb1cc59f
1 changed files with 1 additions and 1 deletions
|
@ -319,7 +319,7 @@
|
|||
*/
|
||||
getBounds: function() {
|
||||
|
||||
return this.bounds;
|
||||
return this.bounds.clone();
|
||||
}
|
||||
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue