mirror of
https://github.com/openseadragon/openseadragon.git
synced 2025-03-13 20:46:13 +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
@ -319,7 +319,7 @@
|
||||
*/
|
||||
getBounds: function() {
|
||||
|
||||
return this.bounds;
|
||||
return this.bounds.clone();
|
||||
}
|
||||
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user