fix(calibration): application de la rotation et du centrage sur l'image globale

This commit is contained in:
qguillaume
2026-05-27 00:23:48 +02:00
parent 02c0d449e4
commit e570bd4296
2 changed files with 45 additions and 154 deletions

View File

@@ -386,8 +386,9 @@ class _CropScreenState extends State<CropScreen> {
targetType: widget.targetType,
initialCenterX: targetCenterX,
initialCenterY: targetCenterY,
cropScale: _scale, // On passe bien le zoom mémorisé
cropOffset: _offset, // On passe bien le décalage mémorisé
cropScale: _scale,
cropOffset: _offset,
cropRotation: _rotation, // <-- On envoie la rotation ici !
),
),
);