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