copy properties for pointer event from internal browser event, not from google.event.BrowserEvent
This commit is contained in:
@@ -111,7 +111,7 @@ ol.pointer.MsSource.prototype.hasBitmapType = function() {
|
||||
ol.pointer.MsSource.prototype.prepareEvent_ = function(inEvent) {
|
||||
var e = inEvent;
|
||||
if (this.HAS_BITMAP_TYPE) {
|
||||
e = this.dispatcher.cloneEvent(inEvent);
|
||||
e = this.dispatcher.cloneEvent(inEvent.getBrowserEvent());
|
||||
e.pointerType = this.POINTER_TYPES[inEvent.pointerType];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user