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:
@@ -12,7 +12,6 @@
|
|||||||
sodipodi:docname="draw-polygon.svg"
|
sodipodi:docname="draw-polygon.svg"
|
||||||
sodipodi:docbase="/home/andreas/projekt/tango/22"
|
sodipodi:docbase="/home/andreas/projekt/tango/22"
|
||||||
inkscape:version="0.42"
|
inkscape:version="0.42"
|
||||||
sodipodi:version="0.32"
|
|
||||||
id="svg8728"
|
id="svg8728"
|
||||||
height="22.000000px"
|
height="22.000000px"
|
||||||
width="22.000000px"
|
width="22.000000px"
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 7.7 KiB After Width: | Height: | Size: 7.7 KiB |
@@ -583,7 +583,14 @@ function svg_edit_setup() {
|
|||||||
changeOpacity(false, perc);
|
changeOpacity(false, perc);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// For slider usage, see: http://jqueryui.com/demos/slider/
|
||||||
$("#opac_slider").slider({
|
$("#opac_slider").slider({
|
||||||
|
start: function() {
|
||||||
|
$('#opacity_dropdown li:not(.special)').hide();
|
||||||
|
},
|
||||||
|
stop: function() {
|
||||||
|
$('#opacity_dropdown li').show();
|
||||||
|
},
|
||||||
slide: function(evt, ui){
|
slide: function(evt, ui){
|
||||||
changeOpacity(ui);
|
changeOpacity(ui);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4610,8 +4610,10 @@ function BatchCommand(text) {
|
|||||||
} // for each elem
|
} // for each elem
|
||||||
svgroot.unsuspendRedraw(handle);
|
svgroot.unsuspendRedraw(handle);
|
||||||
|
|
||||||
// Calling changed here will cause the toolbar to be updated too many times
|
// Only call "changed" if really necessary, as it updates the toolbar each time
|
||||||
// call("changed", elems);
|
if(current_mode == 'rotate') {
|
||||||
|
call("changed", elems);
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
// This function returns a BatchCommand object which summarizes the
|
// This function returns a BatchCommand object which summarizes the
|
||||||
|
|||||||
Reference in New Issue
Block a user