Add in x,y,w,h contextual controls for rects (updated by not editable)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@183 eee81c28-f429-11dd-99c0-75d572ba1ddd
This commit is contained in:
@@ -99,6 +99,10 @@ function svg_edit_setup() {
|
||||
case "rect":
|
||||
$('#rect_panel').show().css("display", "inline");
|
||||
$('#rect_radius').val(elem.getAttribute("rx")||0);
|
||||
$('#rect_x').val(elem.getAttribute("x")||0);
|
||||
$('#rect_y').val(elem.getAttribute("y")||0);
|
||||
$('#rect_w').val(elem.getAttribute("width")||0);
|
||||
$('#rect_h').val(elem.getAttribute("height")||0);
|
||||
break;
|
||||
case "text":
|
||||
// jquery's show() always sets display to block
|
||||
|
||||
Reference in New Issue
Block a user