Skip to content

Commit

Permalink
fix: domElement pointerEvents setting is overwrite bug
Browse files Browse the repository at this point in the history
  • Loading branch information
06wj committed Jul 16, 2018
1 parent b778071 commit d4e6689
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/view/DOMElement.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ var DOMElement = Class.create(/** @lends DOMElement.prototype */{
var elem = this.drawable.domElement = properties.element || Hilo.createElement('div');
elem.id = this.id;

if(this.pointerEnabled){
if(this.pointerEnabled && !elem.style.pointerEvents){
elem.style.pointerEvents = 'visible';
}
},
Expand Down

0 comments on commit d4e6689

Please sign in to comment.