Skip to content

Not correct position for alphaSlideBar after first init colorPickerView color. #64

@demoCrash

Description

@demoCrash

open demo ,you can find the alpha is 0xff, but not at the end of the sliderbar.
the problem is in your class file AbstractSlider.java

  protected int getSelectorHalfSize() {
    return (int) (selector.getMeasuredWidth());
  }

not divide by two.
brightnessSlideBar extends this class may be the same problem.
Hope it is useful to you.

Metadata

Metadata

Assignees

Labels

ReleasedReleased already on the latest version.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions