Fixed issue 311: Angle of rotation value isn't updated when the rotation is made with the handle. Also made opacity options hide while dragging slider

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@878 eee81c28-f429-11dd-99c0-75d572ba1ddd
This commit is contained in:
Alexis Deveria
2009-10-27 13:24:18 +00:00
parent c287c5a531
commit 3dcd17f4b1
3 changed files with 11 additions and 3 deletions

View File

@@ -12,7 +12,6 @@
sodipodi:docname="draw-polygon.svg"
sodipodi:docbase="/home/andreas/projekt/tango/22"
inkscape:version="0.42"
sodipodi:version="0.32"
id="svg8728"
height="22.000000px"
width="22.000000px"

Before

Width:  |  Height:  |  Size: 7.7 KiB

After

Width:  |  Height:  |  Size: 7.7 KiB

View File

@@ -583,7 +583,14 @@ function svg_edit_setup() {
changeOpacity(false, perc);
});
// For slider usage, see: http://jqueryui.com/demos/slider/
$("#opac_slider").slider({
start: function() {
$('#opacity_dropdown li:not(.special)').hide();
},
stop: function() {
$('#opacity_dropdown li').show();
},
slide: function(evt, ui){
changeOpacity(ui);
}

View File

@@ -4610,8 +4610,10 @@ function BatchCommand(text) {
} // for each elem
svgroot.unsuspendRedraw(handle);
// Calling changed here will cause the toolbar to be updated too many times
// call("changed", elems);
// Only call "changed" if really necessary, as it updates the toolbar each time
if(current_mode == 'rotate') {
call("changed", elems);
}
};
// This function returns a BatchCommand object which summarizes the