seahindeniz / BrainlyTools_Extension

A toolbox for exclusive users of Brainly. It enhances Brainly and provides tools to do fast and massive actions and much more..
https://sahin.in/BrainlyTools
MIT License
1 stars 0 forks source link

Image viewer flip buttons should adapt to rotated images #378

Closed bsoyka closed 3 years ago

bsoyka commented 3 years ago
Describe the issue/bug: The image attachment viewer that appears on the user content pages has buttons that flip an image horizontally or vertically. These buttons work in a confusing way if the image has already been rotated 90 degrees in either direction, as the flip horizontal button appears to flip vertically and vice versa. To fix this, the flip horizontal button should flip vertically if the image has been rotated 90 degrees in either direction, and vice versa.

To reproduce: 1. Go to a user content page and find and click on an image attachment. 2. Use the buttons at the bottom to rotate the image 90 degrees in either direction. 3. Try out the flip horizontal/vertical buttons.

Screen recording: https://user-images.githubusercontent.com/37779854/104133318-10cfd380-5340-11eb-8a71-5b0f61e45058.mp4

Profile link: Old: https://brainly.com/profile/bsoyka-13888565 New: https://brainly.com/app/profile/13888565