1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-01-18 17:19:50 +00:00
Pixelorama/assets/graphics
mrtripie 0ad86816e5
Crop Tool (#830)
* Added intial crop tool

* [skip ci] Removed unneeeded LINE_WIDTH constant from CropRect

* Added DimensionsLabel

* Cleaned up CropRect._draw

* Hide the CropRect after switching to a different tool

* Sets the crop values to the entire canvas size on setup

* [skip ci] Added crop tool tooltip

* Made Crop tools synced with eachother by placing the crop settings on CropRect

* Added new modes, refactored, added rule of thirds lines and darkened background

* [skip ci] reset optimization

* Renames

* [skip ci] Tweaked the darkened background

* Fixed bug with top/bottom/left/right sliders after rect refactor

* Changing width/height on locked aspect ratio bug

* Aspect ratio sliders rounding/setting a min of 1 px height/width

* Fixed bugs with drawing the crop rect, especially with locked aspect ratio

* Save the mode to config_cache

* Added size lock and renamed mode

* Added tooltip for size lock. Not sure if I did the translation file right

* removed signal that wasn't used

* Formatting

* Removed old TODO comment from one of my previous PRs that isn't true anymore

* Fixed definition order for linter

* Changed locked size modes moving to offset by @Variable-ind, reordered methods

---------

Co-authored-by: MrTriPie <MrTriPie>
2023-03-16 19:50:45 +02:00
..
icons Format code and add static checks (#599) 2021-11-25 14:48:30 +02:00
layers Basic Layer Groups and Timeline Refactor (#698) 2022-09-28 21:59:49 +03:00
misc Crop Tool (#830) 2023-03-16 19:50:45 +02:00
palette Format code and add static checks (#599) 2021-11-25 14:48:30 +02:00
recorder Recorder extension to core (#823) 2023-03-07 16:21:03 +02:00
splash_screen [ImgBot] Optimize images (#827) 2023-02-21 02:24:31 +02:00
timeline Onion icon change (#711) 2022-07-01 14:48:10 +03:00
tools Crop Tool (#830) 2023-03-16 19:50:45 +02:00
circle_9x9.png Asset renaming (#225) 2020-05-05 03:53:58 +03:00
circle_9x9.png.import Asset renaming (#225) 2020-05-05 03:53:58 +03:00
circle_filled_9x9.png Asset renaming (#225) 2020-05-05 03:53:58 +03:00
circle_filled_9x9.png.import Asset renaming (#225) 2020-05-05 03:53:58 +03:00
cursor.png Replace button icons with single-color textures that change color automatically depending on the theme 2021-06-03 22:42:08 +03:00
cursor.png.import Format code and add static checks (#599) 2021-11-25 14:48:30 +02:00
dotted_line.png Fixed zoom issues with SymmetryGuide 2020-09-08 00:12:09 +03:00
dotted_line.png.import Format code and add static checks (#599) 2021-11-25 14:48:30 +02:00
pixel_image.png Asset renaming (#225) 2020-05-05 03:53:58 +03:00
pixel_image.png.import Asset renaming (#225) 2020-05-05 03:53:58 +03:00
splash.png Made the splash screen fully opaque again 2021-03-17 19:17:26 +02:00
splash.png.import Format code and add static checks (#599) 2021-11-25 14:48:30 +02:00