copy properties for pointer event from internal browser event, not from google.event.BrowserEvent

This commit is contained in:
tsauerwein
2014-02-07 09:37:41 +01:00
parent 1c75ecc260
commit ee2174785f
3 changed files with 3 additions and 3 deletions

View File

@@ -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];
}