HomePhabricator

Improve cropping and rotating functions

Description

Improve cropping and rotating functions

Improve user experience by combining rotate and crop functionality.
NPM draggable package has been replaced with custom code that handles
both dragging and resizing. UI has improved to make adjustments easier

  • updated version
  • added margin to drag-resize box
  • removed old resize logic
  • display rotation degree inside rotate video button
  • disable rotation when video is back in original position (360deg)
  • disable lint for useEffect dependency array since it fixing causes an infinite loop and crashes the code

Bug: T252320
Change-Id: I746a0801bf99ca8797481c1319eab9ebf506358d

Details

Provenance
Khr2003Authored on Mar 12 2021, 1:15 PM
GopavasanthCommitted on Mar 13 2021, 4:50 PM
Parents
rLTVTd40c019e0851: Replaced components with Antd components
Branches
Unknown
Tags
Unknown
References
refs/changes/45/670445/13
ChangeId
I746a0801bf99ca8797481c1319eab9ebf506358d