diff --git a/lib/features/crop/crop_screen.dart b/lib/features/crop/crop_screen.dart index d5f7abe3..85f487f1 100644 --- a/lib/features/crop/crop_screen.dart +++ b/lib/features/crop/crop_screen.dart @@ -252,7 +252,7 @@ class _CropScreenState extends State { Positioned.fill( child: Center( child: Transform( - // TRANSFORMATION GÉOMÉTRIQUE : Conversion des degrés du Slider en Radians pour la matrice + // TRANSFORMATION GÉOMÉTRIQUE : Conversion des degrés du Slider en Radians transform: Matrix4.identity() ..setTranslationRaw(_offset.dx, _offset.dy, 0) ..scale(_scale, _scale) @@ -267,6 +267,33 @@ class _CropScreenState extends State { ), ), ), + + // LIGNES VERTES PERPENDICULAIRES PROLONGÉES SUR TOUT L'ÉCRAN + Positioned.fill( + child: IgnorePointer( + child: Stack( + children: [ + // Ligne Horizontale (Prend toute la largeur) + Center( + child: Container( + width: double.infinity, // S'étend sur toute la zone + height: 1.5, // Ligne ultra fine + color: const Color(0xFF00FF00).withOpacity(0.5), // Vert fluo semi-transparent + ), + ), + // Ligne Verticale (Prend toute la hauteur) + Center( + child: Container( + width: 1.5, + height: double.infinity, // S'étend sur toute la zone + color: const Color(0xFF00FF00).withOpacity(0.5), + ), + ), + ], + ), + ), + ), + Positioned.fill( child: IgnorePointer( child: CropOverlay(cropSize: _cropSize, showGrid: false),