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/misc
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
..
check.png Some improvements to the dynamics (#826) 2023-02-20 21:51:26 +02:00
check.png.import Some improvements to the dynamics (#826) 2023-02-20 21:51:26 +02:00
color_defaults.png Replace button icons with single-color textures that change color automatically depending on the theme 2021-06-03 22:42:08 +03:00
color_defaults.png.import Format code and add static checks (#599) 2021-11-25 14:48:30 +02:00
color_switch.png Replace button icons with single-color textures that change color automatically depending on the theme 2021-06-03 22:42:08 +03:00
color_switch.png.import Format code and add static checks (#599) 2021-11-25 14:48:30 +02:00
dynamics.png Some improvements to the dynamics (#826) 2023-02-20 21:51:26 +02:00
dynamics.png.import Some improvements to the dynamics (#826) 2023-02-20 21:51:26 +02:00
horizontal_mirror_off.png Change global tool option textures 2022-04-01 13:45:24 +03:00
horizontal_mirror_off.png.import Format code and add static checks (#599) 2021-11-25 14:48:30 +02:00
horizontal_mirror_on.png Change global tool option textures 2022-04-01 13:45:24 +03:00
horizontal_mirror_on.png.import Format code and add static checks (#599) 2021-11-25 14:48:30 +02:00
icon_reload.png Replace button icons with single-color textures that change color automatically depending on the theme 2021-06-03 22:42:08 +03:00
icon_reload.png.import Format code and add static checks (#599) 2021-11-25 14:48:30 +02:00
landscape.png Replace button icons with single-color textures that change color automatically depending on the theme 2021-06-03 22:42:08 +03:00
landscape.png.import Format code and add static checks (#599) 2021-11-25 14:48:30 +02:00
lock_aspect.png Replace button icons with single-color textures that change color automatically depending on the theme 2021-06-03 22:42:08 +03:00
lock_aspect.png.import Format code and add static checks (#599) 2021-11-25 14:48:30 +02:00
lock_aspect_2.png Replace button icons with single-color textures that change color automatically depending on the theme 2021-06-03 22:42:08 +03:00
lock_aspect_2.png.import Format code and add static checks (#599) 2021-11-25 14:48:30 +02:00
lock_aspect_guides.png Replace button icons with single-color textures that change color automatically depending on the theme 2021-06-03 22:42:08 +03:00
lock_aspect_guides.png.import Format code and add static checks (#599) 2021-11-25 14:48:30 +02:00
locked_size.png Crop Tool (#830) 2023-03-16 19:50:45 +02:00
locked_size.png.import Crop Tool (#830) 2023-03-16 19:50:45 +02:00
pixel_perfect_off.png Change global tool option textures 2022-04-01 13:45:24 +03:00
pixel_perfect_off.png.import Made pixel perfect into a global tool option 2022-02-28 19:24:14 +02:00
pixel_perfect_on.png Change global tool option textures 2022-04-01 13:45:24 +03:00
pixel_perfect_on.png.import Made pixel perfect into a global tool option 2022-02-28 19:24:14 +02:00
portrait.png Replace button icons with single-color textures that change color automatically depending on the theme 2021-06-03 22:42:08 +03:00
portrait.png.import Format code and add static checks (#599) 2021-11-25 14:48:30 +02:00
uncheck.png Further improvements to Dynamics (#828) 2023-02-28 17:07:48 +02:00
uncheck.png.import Some improvements to the dynamics (#826) 2023-02-20 21:51:26 +02:00
unlocked_size.png Crop Tool (#830) 2023-03-16 19:50:45 +02:00
unlocked_size.png.import Crop Tool (#830) 2023-03-16 19:50:45 +02:00
value_arrow.svg [ImgBot] Optimize images (#827) 2023-02-21 02:24:31 +02:00
value_arrow.svg.import Add arrow buttons to the value slider 2022-10-14 02:51:55 +03:00
value_arrow_hover.svg [ImgBot] Optimize images (#827) 2023-02-21 02:24:31 +02:00
value_arrow_hover.svg.import Add arrow buttons to the value slider 2022-10-14 02:51:55 +03:00
value_arrow_press.svg [ImgBot] Optimize images (#827) 2023-02-21 02:24:31 +02:00
value_arrow_press.svg.import Add arrow buttons to the value slider 2022-10-14 02:51:55 +03:00
value_slider.png Add a custom ValueSlider node made by @mrtripie 2022-09-30 00:07:56 +03:00
value_slider.png.import Add a custom ValueSlider node made by @mrtripie 2022-09-30 00:07:56 +03:00
vertical_mirror_off.png Change global tool option textures 2022-04-01 13:45:24 +03:00
vertical_mirror_off.png.import Format code and add static checks (#599) 2021-11-25 14:48:30 +02:00
vertical_mirror_on.png Change global tool option textures 2022-04-01 13:45:24 +03:00
vertical_mirror_on.png.import Format code and add static checks (#599) 2021-11-25 14:48:30 +02:00