summaryrefslogtreecommitdiff
path: root/colorpicker-compose/src
AgeCommit message (Collapse)AuthorFilesLines
2024-06-29Apply debounceDurationskydoves3-11/+15
2024-06-29Implement setDebounceDuration functionskydoves6-25/+34
2024-06-29Implement setPaletteImageBitmap and sync imageBitmap changesskydoves3-23/+80
2024-06-29Filter compose color picker libraryskydoves1-13440/+1
2024-06-29Update baseline profilesskydoves1-0/+13668
2024-06-29Remove android annotations on the comment APIsskydoves3-7/+4
2024-06-29Clean up internal logicsskydoves4-33/+30
2024-06-28Add back the selectCenter() method.Jeffrey Bush1-0/+9
2024-06-28Code quality updatesJeffrey Bush13-73/+108
2024-06-28Initial transition to multiplatformJeffrey Bush29-1696/+1320
2024-06-22Implement previewImagePainter for the ImageColorPickerskydoves1-0/+15
2024-06-22Implement selectByHsvskydoves1-2/+26
2024-05-09Merge pull request #54 from darktiny/fix_alphaJaewoong Eum1-1/+3
Fix selectByColor not updating alpha
2024-05-09Merge pull request #57 from sderr/fix_color_resetJaewoong Eum1-1/+5
quickfix for occasional color reset to white on recomposition
2024-05-09quickfix for occasional color reset to white on recompositionSimon Derr1-1/+5
On rare occasions, (was seen using a color picker in an animated widget) the color picker will reset the selected color to white after a recomposition. This seems to be due to onSizeChanged() being called, even though the color picker did not really change size. For the HSV color picker it is possible to re-select automatically the previously picked color, since the coordinates can be calculated. For the ImageColorPicker, a more elaborate fix would be needed.
2024-05-07BitmapCalculator: fix use of a recycled bitmapSimon Derr1-6/+11
This commit fixes this warning message which happens with the HSV color picker: "Called getWidth() on a recycle()'d bitmap! This is undefined behavior!" It is likely due to the fact that createScaledBitmap() will usually return a new bitmap, but will return the source bitmap if the dimensions are the same. This commit makes sure that scaleBitmap() will always return a new bitmap.
2024-03-25Fix selectByColor not updating alphadarktiny1-1/+3
2023-12-08Merge pull request #48 from skydoves/refactor/setBrightnessJaewoong Eum3-11/+13
Expose setBrightness to public
2023-12-08Expose setBrightness to publicskydoves3-11/+13
2023-12-07Fix BrightnessSlider transparent backgroundStefanie Grunwald1-2/+2
After a thorough refactoring of the BrightnessSlider somewhere after release 1.0.4, the slider background would falsely show a gradient going from full transparency to zero transparency. This commit removes the alpha logic and replaces it with the previously used shader going from pure black to the (pure) selected colour. Fixes #42
2023-11-23Add comments to selectByColor methodruigoncalo1-1/+6
2023-11-23Add selectByColor to ColorPickerControllerruigoncalo1-0/+28
2023-10-01Generate baseline profilesskydoves1-0/+208
2023-10-01Implement benchmark moduleskydoves1-0/+4
2023-10-01Migrate to kts gradle scriptsskydoves16-31/+31
2023-10-01Fix bordoer for BrightnessSlider not showingskydoves14-1068/+1070
2023-09-09Fix BrightnessSlider Kdocyangsooplus1-1/+1
2023-09-09Add initialColor to the AlphaSlideryangsooplus1-0/+12
2023-07-18rename drawThumbIndicator to drawDefaultWheelIndicator for consistencyAndré Samuelsson2-6/+6
2023-07-18remove pos param from drawOnPosSelected callbackAndré Samuelsson2-6/+4
it's available from the controller
2023-07-18apply auto formatterAndré Samuelsson1-2/+18
2023-07-18expose draw scope callback in color picker composables to allow custom wheel ↵André Samuelsson3-14/+65
drawing, fixes #32
2023-07-05Update spotless and reformat codesskydoves11-65/+75
2023-07-05Merge pull request #28 from tberghuis/fix-initial-colorJaewoong Eum1-1/+1
fix for HsvColorPicker initialColor
2023-07-05Merge pull request #29 from kitakkun/feature/fix_dragging_not_work_properlyJaewoong Eum3-64/+89
Fix Dragging Issue on HsvColorPicker, AlphaSlider, and BrightnessSlider
2023-07-04fix: dragging on BrightnessSlider doesn't work properly when parent is ↵kitakkun1-26/+40
scrollable
2023-07-04fix: dragging on AlphaSlider doesn't work properly when parent is scrollablekitakkun1-26/+38
2023-07-04fix: HsvColorPicker is not draggable when parent is scrollablekitakkun1-12/+11
2023-07-03fix for HsvColorPicker initialColorThomas Berghuis1-1/+1
2023-05-04Fix debounce issueTurai Botond1-1/+5
2023-04-18spotlessApplyTurai Botond2-3/+3
2023-04-18Fixing calculation algorithmTurai Botond2-22/+9
2023-04-16Fix default modifier sizes for slidersskydoves2-6/+6
2023-04-16Add wheel alpha properties to the slider composablesskydoves2-2/+12
2023-04-16Fix wrong border sizesskydoves3-5/+7
2023-04-16Generate binary compatabilitiesskydoves2-7/+4
2023-04-16Refactor for initialColor and demoskydoves3-8/+13
2023-04-15Run spotlessTurai Botond2-14/+15
2023-04-15Fixing remember issueTurai Botond2-8/+20
2023-04-15Fixing brightnessTurai Botond1-1/+15