LeGoffMael / video_editor

A flutter package for editing video written in pure Dart with fully customizable UI. Supports crop, trim, rotation and cover selection.
https://pub.dev/packages/video_editor
MIT License
395 stars 236 forks source link

Add 180 degrees to isRotated logic #177

Open gmr-renato opened 10 months ago

gmr-renato commented 10 months ago

I'm using the package for a personal project and I notice this:

lib/src/controller line 417:

bool get isRotated => rotation == 90 || rotation == 270;

The right logict should be:

bool get isRotated => rotation == 90 || rotation == 270 || rotation == 180; or bool get isRotated => rotation != 0;

image

gabrieluca commented 10 months ago

I've had issues with this as well!

gabrielscr commented 10 months ago

Same issues here