annotate 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
rev   line source
339
63aaf96209cd * Move location of files so that we can produce XPI file from them.
wycc
parents:
diff changeset
1 function start_madbuilder() {
63aaf96209cd * Move location of files so that we can produce XPI file from them.
wycc
parents:
diff changeset
2 var url = "chrome://MadBuilder/content/madbuilder.html";
63aaf96209cd * Move location of files so that we can produce XPI file from them.
wycc
parents:
diff changeset
3 var browser = document.getElementById("content");
63aaf96209cd * Move location of files so that we can produce XPI file from them.
wycc
parents:
diff changeset
4
63aaf96209cd * Move location of files so that we can produce XPI file from them.
wycc
parents:
diff changeset
5 browser.loadURI(url, null, null, true);
63aaf96209cd * Move location of files so that we can produce XPI file from them.
wycc
parents:
diff changeset
6 }