Merge pull request #1861 from ahocevar/init-lastpixel
Initialize lastPixel_ properly
This commit is contained in:
@@ -67,7 +67,7 @@ ol.interaction.Modify = function(options) {
|
|||||||
* @type {ol.Pixel}
|
* @type {ol.Pixel}
|
||||||
* @private
|
* @private
|
||||||
*/
|
*/
|
||||||
this.lastPixel_ = null;
|
this.lastPixel_ = [0, 0];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Segment RTree for each layer
|
* Segment RTree for each layer
|
||||||
|
|||||||
Reference in New Issue
Block a user