webgl canvas element does not need overflow:hidden

This commit is contained in:
Éric Lemoine
2012-08-20 21:50:24 +02:00
parent 21ae6d1be3
commit d0572c081e

View File

@@ -147,7 +147,6 @@ ol.webgl.MapRenderer = function(container, map) {
* @type {Element}
*/
this.canvas_ = goog.dom.createElement(goog.dom.TagName.CANVAS);
this.canvas_.style.overflow = 'hidden';
this.canvas_.height = container.clientHeight;
this.canvas_.width = container.clientWidth;
goog.dom.appendChild(container, this.canvas_);