Paradine Posted June 15, 2017 Share Posted June 15, 2017 Even main demo does not work:http://www.babylonjs.com/demos/gui/ Fails here: try { o = r.getBoundingClientRect().top - e.getBoundingClientRect().top, r.style.verticalAlign = "baseline", s = r.getBoundingClientRect().top - e.getBoundingClientRect().top; } finally { n.remove(); } Quote Link to comment Share on other sites More sharing options...
adam Posted June 15, 2017 Share Posted June 15, 2017 I think we need to use: this.parentNode.removeChild(this); for ie11 Quote Link to comment Share on other sites More sharing options...
adam Posted June 15, 2017 Share Posted June 15, 2017 see the polyfill section https://developer.mozilla.org/en-US/docs/Web/API/ChildNode/remove Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted June 15, 2017 Share Posted June 15, 2017 Can you do a PR? Quote Link to comment Share on other sites More sharing options...
adam Posted June 15, 2017 Share Posted June 15, 2017 I will tonight. Paradine and GameMonetize 2 Quote Link to comment Share on other sites More sharing options...
Paradine Posted June 17, 2017 Author Share Posted June 17, 2017 e.prototype._localDraw = function (t) { t.save(), t.beginPath(), t.ellipse(this._currentMeasure.left + this._currentMeasure.width / 2, this._currentMeasure.top + this._currentMeasure.height / 2, this._currentMeasure.width / 2 - this._thickness / 2, this._currentMeasure.height / 2 - this._thickness / 2, 0, 0, 2 * Math.PI), t.closePath(), this._background && (t.fillStyle = this._background, t.fill()), this._thickness && (this.color && (t.strokeStyle = this.color), t.lineWidth = this._thickness, t.stroke()), t.restore(); }, Thx my code started working as I dont use ellipse, but yours demo does not still work. IE11 has new bugs come out: SCRIPT438: Object doesn't support property or method 'ellipse' Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted June 19, 2017 Share Posted June 19, 2017 Should be good now Paradine 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.