Remove more custom code in favor of mootols.

This commit is contained in:
Paulo Veiga
2011-08-28 11:58:43 -03:00
parent d20e5cf6d5
commit dc50cee16d
4 changed files with 32 additions and 83 deletions

View File

@@ -20,7 +20,7 @@ web2d.peer.svg.TextPeer = function()
{
var svgElement = window.document.createElementNS(this.svgNamespace, 'text');
web2d.peer.svg.ElementPeer.call(this, svgElement);
this._native.setAttribute("focusable", "true");
this._native.setAttribute("focusable", "false");
this._position = {x:0,y:0};
this._font = new web2d.Font("Arial", this);
};