ol 7.2.3-dev.1676908961360 → 7.2.3-dev.1677449880006
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/View.js +1 -1
- package/dist/ol.js +2 -2
- package/dist/ol.js.map +1 -1
- package/package.json +1 -1
- package/util.js +1 -1
package/View.js
CHANGED
|
@@ -507,7 +507,7 @@ class View extends BaseObject {
|
|
|
507
507
|
set padding(padding) {
|
|
508
508
|
let oldPadding = this.padding_;
|
|
509
509
|
this.padding_ = padding;
|
|
510
|
-
const center = this.
|
|
510
|
+
const center = this.getCenterInternal();
|
|
511
511
|
if (center) {
|
|
512
512
|
const newPadding = padding || [0, 0, 0, 0];
|
|
513
513
|
oldPadding = oldPadding || [0, 0, 0, 0];
|