Browse Source

fix panel height overflow

tags/v1.21.9.1^2
zhoupzh 4 years ago
parent
commit
fb26dca8d3
2 changed files with 6 additions and 2 deletions
  1. +1
    -1
      public/self/js/Director/detection.js
  2. +5
    -1
      public/self/js/Director/labelingSelfDefine.js

+ 1
- 1
public/self/js/Director/detection.js View File

@@ -450,7 +450,7 @@ function updateSetting(){
hidePopup();
// show_region_attributes_update_panel();
var set_attributes = document.getElementById("set_attributes")
set_attributes.setAttribute('style', 'height:70rem;overflow:auto;'+'top:' + 185 + 'px;left:'+ 50 +'px;width:'+ 502+'px;position:absolute');
set_attributes.setAttribute('style', 'overflow:auto;'+'top:' + 185 + 'px;left:'+ 50 +'px;width:'+ 502+'px;position:absolute');
update_attributes_update_panel();
$('#message_panel').css('display','block');
$('#message_panel .content').css('display','inline');


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

@@ -2047,6 +2047,8 @@ function set_region_annotations_to_default_value(rid) {
function show_tpye_attribute(){
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();

@@ -2054,7 +2056,9 @@ function show_tpye_attribute(){

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


Loading…
Cancel
Save