Fix Issue 92: Update rotation angle when selecting an element

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@392 eee81c28-f429-11dd-99c0-75d572ba1ddd
This commit is contained in:
Jeff Schiller
2009-08-16 19:18:22 +00:00
parent a61da29f34
commit eb97d20600
2 changed files with 8 additions and 6 deletions

View File

@@ -156,7 +156,7 @@ function svg_edit_setup() {
$('#line_panel').hide();
$('#text_panel').hide();
if (elem != null) {
// TODO: get element's rotation value and set the angle spinner
$('#angle').val(svgCanvas.getRotationAngle(elem));
$('#selected_panel').show();
// update contextual tools here
switch(elem.tagName) {