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;
|
||||
});
|
||||
|
||||
button.bind('mousedown mouseup',function() {
|
||||
button.addClass('down');
|
||||
list.show();
|
||||
button.bind('mousedown',function() {
|
||||
if (!button.hasClass('down')) {
|
||||
button.addClass('down');
|
||||
list.show();
|
||||
on_button = true;
|
||||
} else {
|
||||
button.removeClass('down');
|
||||
list.hide();
|
||||
}
|
||||
}).hover(function() {
|
||||
on_button = true;
|
||||
}).mouseout(function() {
|
||||
|
||||
Reference in New Issue
Block a user