Closing out Issue 36 with new layout from svg-edit-layout branch

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@215 eee81c28-f429-11dd-99c0-75d572ba1ddd
This commit is contained in:
Jeff Schiller
2009-06-28 04:20:34 +00:00
parent 347896cb6c
commit 83f2dbf6df
3 changed files with 165 additions and 132 deletions

View File

@@ -494,8 +494,8 @@ function SvgCanvas(c)
// and do nothing else
var mouseDown = function(evt)
{
var x = evt.pageX - container.offsetLeft;
var y = evt.pageY - container.offsetTop;
var x = evt.pageX - container.parentNode.offsetLeft;
var y = evt.pageY - container.parentNode.offsetTop;
switch (current_mode) {
case "select":
started = true;
@@ -652,8 +652,8 @@ function SvgCanvas(c)
var mouseMove = function(evt)
{
if (!started) return;
var x = evt.pageX - container.offsetLeft;
var y = evt.pageY - container.offsetTop;
var x = evt.pageX - container.parentNode.offsetLeft;
var y = evt.pageY - container.parentNode.offsetTop;
var shape = svgdoc.getElementById(getId());
switch (current_mode)
{