Browse Source

封代码,绝对布局的等距线屏蔽掉参数面板

master
zhouping 8 years ago
parent
commit
c2187ec556
  1. 12
      designer_base/src/com/fr/design/beans/location/MoveUtils.java

12
designer_base/src/com/fr/design/beans/location/MoveUtils.java

@ -300,11 +300,13 @@ public class MoveUtils {
findX(px, bounds, left, right, width); findX(px, bounds, left, right, width);
findY(py, bounds, top, bottom, height); findY(py, bounds, top, bottom, height);
if(isIntersects && !isParameterLayout){ if(!isParameterLayout){
isWidgetsIntersects = true; if(isIntersects) {
} isWidgetsIntersects = true;
else{ }
findEquidistantLine(bounds, left, top, height, width); else{
findEquidistantLine(bounds, left, top, height, width);
}
} }
} }
showForbiddenWindow(designer, x, y, isWidgetsIntersects); showForbiddenWindow(designer, x, y, isWidgetsIntersects);

Loading…
Cancel
Save