Fix Issue 243: Zoom pop-up list state gets corrupted. Patch from Peter D. Reid
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@725 eee81c28-f429-11dd-99c0-75d572ba1ddd
This commit is contained in:
@@ -479,9 +479,15 @@ function svg_edit_setup() {
|
|||||||
on_button = false;
|
on_button = false;
|
||||||
});
|
});
|
||||||
|
|
||||||
button.bind('mousedown mouseup',function() {
|
button.bind('mousedown',function() {
|
||||||
button.addClass('down');
|
if (!button.hasClass('down')) {
|
||||||
list.show();
|
button.addClass('down');
|
||||||
|
list.show();
|
||||||
|
on_button = true;
|
||||||
|
} else {
|
||||||
|
button.removeClass('down');
|
||||||
|
list.hide();
|
||||||
|
}
|
||||||
}).hover(function() {
|
}).hover(function() {
|
||||||
on_button = true;
|
on_button = true;
|
||||||
}).mouseout(function() {
|
}).mouseout(function() {
|
||||||
|
|||||||
Reference in New Issue
Block a user