|
@@ -20,11 +20,10 @@ class _ContrastToneBarState extends State<_ContrastToneBar> {
|
|
|
|
|
|
@override
|
|
|
Widget build(BuildContext context) {
|
|
|
- final processor = playerController.getProcessor<VidContrastProcessor>();
|
|
|
return _ToneBar(
|
|
|
max: 100,
|
|
|
min: -100,
|
|
|
- value: processor?.contrast.toDouble() ?? 0.0,
|
|
|
+ value: 0,
|
|
|
icon: const Icon(
|
|
|
Icons.brightness_medium,
|
|
|
color: Colors.white,
|
|
@@ -71,11 +70,10 @@ class _BrightnessToneBarState extends State<_BrightnessToneBar> {
|
|
|
|
|
|
@override
|
|
|
Widget build(BuildContext context) {
|
|
|
- final processor = playerController.getProcessor<VidBrightnessProcessor>();
|
|
|
return _ToneBar(
|
|
|
max: 100,
|
|
|
min: -100,
|
|
|
- value: processor?.brightness.toDouble() ?? 0.0,
|
|
|
+ value: 0,
|
|
|
icon: const Icon(
|
|
|
Icons.wb_sunny_sharp,
|
|
|
color: Colors.white,
|