Fix center properly ...

This commit is contained in:
Paulo Veiga
2011-08-28 10:58:41 -03:00
parent 26759bd437
commit c2521f0f9f
3 changed files with 18 additions and 9 deletions

View File

@@ -23,6 +23,8 @@ web2d.peer.svg.WorkspacePeer = function(element)
web2d.peer.svg.ElementPeer.call(this, svgElement);
this._native.setAttribute("focusable", "true");
this._native.setAttribute("id", "workspace");
this._native.setAttribute("preserveAspectRatio", "true");
};
objects.extend(web2d.peer.svg.WorkspacePeer, web2d.peer.svg.ElementPeer);