first attempt at merging sliders
This commit is contained in:
@@ -220,7 +220,7 @@ public class Slider extends GameObject {
|
||||
curveColor.a = curveAlpha;
|
||||
|
||||
float curveInterval = Options.isSliderSnaking() ? alpha : 1f;
|
||||
curve.draw(curveColor, curveInterval);
|
||||
//curve.draw(curveColor, curveInterval);
|
||||
color.a = alpha;
|
||||
|
||||
g.pushTransform();
|
||||
|
||||
@@ -62,6 +62,10 @@ public abstract class Curve {
|
||||
/** Points along the curve (set by inherited classes). */
|
||||
protected Vec2f[] curve;
|
||||
|
||||
public Vec2f[] getCurvePoints() {
|
||||
return curve;
|
||||
}
|
||||
|
||||
private Color fallbackSliderColor = new Color(20, 20, 20);
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user