Mercurial > MadButterfly
view inkscape/firefox/content/main.js @ 439:254854ed479c
Fix bug of _find_shape_in_pos().
It can not find a correct shape for a specified point.
Since it call _shape_pos_is_in_cairo() directly, cairo_new_path() is
not called to clear path after each calling for a shape. So, old path
would interference later testing. It should call _shape_pos_is_in()
instead of _shape_pos_is_in_cairo().
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Thu, 30 Jul 2009 15:42:47 +0800 |
parents | 45e04408fc19 |
children |
line wrap: on
line source
var last_select; var wizard; jQuery(document).ready(function() { if (loadOldProject()) { filedialog = jQuery('#filedialog'); filedialog.dialog({width:500, modal: true, autoOpen:false, title:'Please select a file'}); filedialog.show(); filedialog.html('Please select the project file<br>'); filedialog.append('<input type=file value="Select the project file" id="mbsvg" accept="image/png">'); filedialog.append('<input type=button value="Load" onclick="project_loadFile()">'); filedialog.dialog("open"); last_select = null; wizard = new Wizard(); wizard.cb = onLoadProject; $('#filedialog').dialog({ width:500}); $('#frame').draggable(); $('#btns').draggable({cursor:'crosshair'}); $('#list').tabs(); $('#display').tabs(); } });