Fix setting center to undefined
This commit is contained in:
@@ -1738,6 +1738,7 @@ class View extends BaseObject {
|
||||
this.set(ViewProperty.RESOLUTION, newResolution);
|
||||
}
|
||||
if (
|
||||
!newCenter ||
|
||||
!this.get(ViewProperty.CENTER) ||
|
||||
!equals(this.get(ViewProperty.CENTER), newCenter)
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user