mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-19 09:39:48 +00:00
0ad86816e5
* 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>
36 lines
706 B
Plaintext
36 lines
706 B
Plaintext
[remap]
|
|
|
|
importer="texture"
|
|
type="StreamTexture"
|
|
path="res://.import/crop.png-b1dd939167138aaa21a7eeec94aed6bc.stex"
|
|
metadata={
|
|
"vram_texture": false
|
|
}
|
|
|
|
[deps]
|
|
|
|
source_file="res://assets/graphics/tools/cursors/crop.png"
|
|
dest_files=[ "res://.import/crop.png-b1dd939167138aaa21a7eeec94aed6bc.stex" ]
|
|
|
|
[params]
|
|
|
|
compress/mode=0
|
|
compress/lossy_quality=0.7
|
|
compress/hdr_mode=0
|
|
compress/bptc_ldr=0
|
|
compress/normal_map=0
|
|
flags/repeat=0
|
|
flags/filter=false
|
|
flags/mipmaps=false
|
|
flags/anisotropic=false
|
|
flags/srgb=2
|
|
process/fix_alpha_border=true
|
|
process/premult_alpha=false
|
|
process/HDR_as_SRGB=false
|
|
process/invert_color=false
|
|
process/normal_map_invert_y=false
|
|
stream=false
|
|
size_limit=0
|
|
detect_3d=false
|
|
svg/scale=1.0
|