Browse Source

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

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

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

@ -300,13 +300,15 @@ 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){
if(isIntersects) {
isWidgetsIntersects = true; isWidgetsIntersects = true;
} }
else{ else{
findEquidistantLine(bounds, left, top, height, width); findEquidistantLine(bounds, left, top, height, width);
} }
} }
}
showForbiddenWindow(designer, x, y, isWidgetsIntersects); showForbiddenWindow(designer, x, y, isWidgetsIntersects);
createXAbsorptionline(px, designer, width, cacheRecs); createXAbsorptionline(px, designer, width, cacheRecs);

Loading…
Cancel
Save