Révision 1b9439c2
ID | 1b9439c2a8a10900260f64388212aa27af22889e |
Parent | fe3e0cdf |
Enfant | 9754896a, b42eb160 |
Fixed ref_points dialog (I broke it...)
Fichiers
- ajouté
- modifié
- copié
- renommé
- supprimé
Révisions
js/pano.js | ||
---|---|---|
702 | 702 |
document.getElementById('insert').style.display = 'none'; |
703 | 703 |
} |
704 | 704 |
|
705 |
function manage_ref_points(e, has_points) {
|
|
705 |
function manage_ref_points(e) { |
|
706 | 706 |
//event.preventDefault(); |
707 | 707 |
//event.stopPropagation(); |
708 | 708 |
var sel_pt = document.getElementById('sel_point'); |
... | ... | |
719 | 719 |
insrt.style.top = e.pageY+'px'; |
720 | 720 |
insrt.style.display = 'block'; |
721 | 721 |
|
722 |
if (has_points) {
|
|
722 |
if (do_insert) {// true if there are ref points
|
|
723 | 723 |
for(var i = 0; i < zm.pt_list.length; i++) { |
724 | 724 |
if (zm.pt_list[i]['type'] == 'ref_point') { |
725 | 725 |
if (check_prox(zm.pt_list[i]['xc']-pos_x, |