degradation photo au max pour meilleur perf + impact opacity %
This commit is contained in:
@@ -199,7 +199,16 @@ class _AnalysisScreenContentState extends State<_AnalysisScreenContent> {
|
||||
),
|
||||
if (_isCalibrating)
|
||||
TextButton(
|
||||
onPressed: () => setState(() => _isCalibrating = false),
|
||||
onPressed: () {
|
||||
// On fige la calibration courante dans le provider AVANT de
|
||||
// basculer en Plotting, pour que l'instance Plotting parte
|
||||
// d'un état figé et indépendant des rebuilds de calibration.
|
||||
_calibrationKey.currentState?.commitCalibration();
|
||||
setState(() {
|
||||
_isCalibrating = false;
|
||||
_isSelectingReferences = false;
|
||||
});
|
||||
},
|
||||
child: const Text(
|
||||
'TERMINER',
|
||||
style: TextStyle(
|
||||
|
||||
Reference in New Issue
Block a user