Browse Source

fix show annoattion

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

+ 4
- 4
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){
topx = canvas.height;
if (topx > canvas.height/2){
topx = canvas.height/2;
}
if (lefty > canvas.width){
lefty = canvas.width;
if (lefty > canvas.width/2){
lefty = canvas.width/2;
}
_via_display_area_content_name = VIA_DISPLAY_AREA_CONTENT_NAME.IMAGE;



Loading…
Cancel
Save