LeGoffMael / video_editor

A flutter package for editing video written in pure Dart with fully customizable UI. Supports crop, trim, rotation and cover selection.

Home Page:https://pub.dev/packages/video_editor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add 180 degrees to isRotated logic

gmr-renato opened this issue · comments

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

I've had issues with this as well!

Same issues here