Browse Source

fix annotation editor panel

tags/v1.21.12.1
Gitea 4 years ago
parent
commit
0c91cd2ea9
1 changed files with 5 additions and 5 deletions
  1. +5
    -5
      public/self/js/Director/detection.js

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

@@ -276,11 +276,11 @@ function getShowShape(recttype){

function showPopup(topx,lefty,rectIndex,recttype) {

if (topx > canvas.height/2){
topx = canvas.height/2;
if (topx > canvas.height){
topx = canvas.height;
}
if (lefty > canvas.width/2){
lefty = canvas.width/2;
if (lefty > canvas.width){
lefty = canvas.width;
}
_via_display_area_content_name = VIA_DISPLAY_AREA_CONTENT_NAME.IMAGE;

@@ -2935,4 +2935,4 @@ function isJSON(str) {
moveDownSinglePx();
break;
};
}
}

Loading…
Cancel
Save