view inkscape/firefox/content/MadBuilderOverlay.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 63aaf96209cd
children
line wrap: on
line source

function start_madbuilder() {
    var url = "chrome://MadBuilder/content/madbuilder.html";
    var browser = document.getElementById("content");

    browser.loadURI(url, null, null, true);
}