Browse Source

方法修改

fbp/release
renekton 3 months ago
parent
commit
b340ec2ef9
  1. 3
      designer-base/src/main/java/com/fr/design/style/background/gradient/GradientBar.java

3
designer-base/src/main/java/com/fr/design/style/background/gradient/GradientBar.java

@ -343,8 +343,7 @@ public class GradientBar extends AbstractComponentPopBox implements UIObserver,
index = 0;
}
}
boolean x = e.getX() <= max && e.getX() >= min;
if (x && e.getY() < MAX_VERTICAL) {
if (e.getX() <= max && e.getX() >= min && e.getY() < MAX_VERTICAL) {
list.get(index).setX(e.getX());
}
}

Loading…
Cancel
Save