Commit 8e985ca3 by liulongfei

bug修复

parent 645876fb
...@@ -391,7 +391,7 @@ namespace VIZ.H2V.Module ...@@ -391,7 +391,7 @@ namespace VIZ.H2V.Module
int VIDEO_CLIP_BOX_WIDTH = ApplicationDomainEx.VIDEO_CLIP_BOX_WIDTH; int VIDEO_CLIP_BOX_WIDTH = ApplicationDomainEx.VIDEO_CLIP_BOX_WIDTH;
int half_width = width / 2; int half_width = VIDEO_CLIP_BOX_WIDTH / 2;
int x_max = msg.center_x.Value + half_width; int x_max = msg.center_x.Value + half_width;
int x_min = x_max - VIDEO_CLIP_BOX_WIDTH; int x_min = x_max - VIDEO_CLIP_BOX_WIDTH;
if (x_min < 0) if (x_min < 0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment