Browse Source

fix panel height overflow

tags/v1.21.12.1
zhoupzh 4 years ago
parent
commit
7e10515978
1 changed files with 4 additions and 5 deletions
  1. +4
    -5
      public/self/js/Director/labelingSelfDefine.js

+ 4
- 5
public/self/js/Director/labelingSelfDefine.js View File

@@ -2045,20 +2045,19 @@ function set_region_annotations_to_default_value(rid) {


function show_tpye_attribute(){
var set_attributes1 = document.getElementById("set_attributes")
set_attributes1.style.height = '70rem'
sessionStorage.setItem('attr_id','type');
// sessionStorage.setItem(\'predict_task_id\',\'"+task_id +"\');
var set_attributes1 = document.getElementById("set_attributes")
set_attributes1.setAttribute('style', 'height:70rem;');
show_attribute_properties();
show_tpye_attribute_options();

}

function show_color_attribute(){
sessionStorage.setItem('attr_id','color');
var set_attributes2 = document.getElementById("set_attributes")
set_attributes2.setAttribute('style', 'height:70rem;');
set_attributes2.style.height = '70rem'
sessionStorage.setItem('attr_id','color');
var isTrue = show_attribute_properties_color();
if (!isTrue){
return;


Loading…
Cancel
Save