fix fix fix

This commit is contained in:
Kima
2024-03-27 21:11:09 +01:00
parent 81e57d2f38
commit d9ec195233
6 changed files with 188 additions and 76 deletions

View File

@@ -174,7 +174,8 @@ class FilcColorPickerState extends State<FilcColorPicker> {
fontWeight: FontWeight.w600)),
backgroundColor: AppColors.of(context).background));
},
displayThumbColor: widget.displayThumbColor,
// displayThumbColor: widget.displayThumbColor,
displayThumbColor: true,
);
}

View File

@@ -275,7 +275,7 @@ class ThumbPainter extends CustomPainter {
if (thumbColor != null) {
canvas.drawCircle(
Offset(0.0, size.height * 0.4),
size.height * (fullThumbColor ? 1.0 : 0.65),
size.height * (fullThumbColor ? 1.0 : 0.75),
Paint()
..color = thumbColor!
..style = PaintingStyle.fill);