Skip to content

Commit

Permalink
change alias for x, y, w, h
Browse files Browse the repository at this point in the history
  • Loading branch information
birm authored Sep 12, 2023
1 parent 4e63b78 commit a6b4245
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/labeling/labelReview.js
Original file line number Diff line number Diff line change
Expand Up @@ -758,7 +758,7 @@ function setDownloadModalProgress(num) {
function labelInfoToHtml(label){
let text = ""
// top level fields
if (label.alias){
if (false && label.alias){
text += "<b>Alias:</b> "
text += label.alias
text += "<br/>"
Expand All @@ -784,7 +784,7 @@ function labelInfoToHtml(label){
text += label.task
text += "<br/>"
}
let skip_props = ['style', 'x', 'y', 'width', 'height']
let skip_props = ['style']
// now go through properties
for (let propkey in label.properties){
if (skip_props.indexOf(propkey) == -1){
Expand Down Expand Up @@ -820,4 +820,4 @@ function getLabelInfo(e){
});
let texts = matched_labels.map(labelInfoToHtml)
document.getElementById('label_review').innerHTML = texts.join("<br/><hr/><br/>")
}
}

0 comments on commit a6b4245

Please sign in to comment.