Manolis Papadeas
92c252e22d
Fixes #618
2021-12-15 01:39:24 +02:00
Manolis Papadeas
c6b9a1fb82
Format code and add static checks ( #599 )
...
* gdformat .
* Lint code - Part 1
* Format code - Part 2
* Lint code - Part 2
Trying to fix the max allowed line length errors
* Add normal_map_invert_y to the image .import files
Because of Godot 3.4
* Do not call private methods outside of the script's scope
Lint code - Part 3
* Format code - Part 3
* Fixed more line length exceeded errors - Lint code Part 3
* Export array of licenses - Lint code part 4
* Clean hint_tooltip code from Global
Removes a lot of lines of code
* Create static-checks.yml
* Fix FreeType's license
2021-11-25 14:48:30 +02:00
Manolis Papadeas
680ab481f3
Don't transform content if layer is locked or invisible
2021-08-30 01:22:13 +03:00
Manolis Papadeas
4292fcc51f
Change behavior of selection quick-copy (Ctrl+Alt+mouse movement)
...
It should now keep the same image data until the transformation gets confirmed
2021-07-31 02:03:51 +03:00
Manolis Papadeas
06bd56866d
Change selection shortcuts: Alt is now used to only move selection and Ctrl+Alt makes a quick copy of the selected content
2021-07-29 16:15:02 +03:00
Manolis Papadeas
f5d07e660d
Do not clear content from selection in selected cels when moving if Alt has been pressed beforehand
...
This is about Alt + mouse click when moving a selection. See https://github.com/Orama-Interactive/Pixelorama/issues/129#issuecomment-756799706 for more info
2021-06-23 20:38:17 +03:00
Manolis Papadeas
43e733fe65
Fix Move tool's snap to grid movement and take grid offset into account
2021-05-28 17:43:50 +03:00
Manolis Papadeas
5b6f4ebe3e
Added Polygon selection tool
...
Cursor icon is temporary. It works by clicking multiple times on the places you want to create edges, and to complete the polygon you either have to click at the first edge (if you hover the mouse, a circle appears in that position), or you can auto-fill by double clicking.
2021-05-18 01:56:55 +03:00
Manolis Papadeas
1b80100588
Stop movement if content transformation has been confirmed while content is being moved
2021-05-11 04:41:30 +03:00
Manolis Papadeas
47e83d7163
Added UndoRedo support for selection transformations for tool options and fixed resize content behavior
2021-05-11 00:27:57 +03:00
Manolis Papadeas
e86dde2fb5
Do not require confirmation when transforming a selection with invisible contents
2021-05-10 18:44:12 +03:00
Manolis Papadeas
70d5fad9fd
Make selection tool options not editable when there is no selection
2021-05-09 00:56:23 +03:00
Manolis Papadeas
356ddc0038
Implement moving selections with arrow keys
...
Moves selection with contents by default.
Control + arrow keys = Moves & snaps selection to grid.
Alt + arrow keys = Moves the selection itself without the contents.
2021-05-07 04:33:28 +03:00
Manolis Papadeas
0ba940c886
Implement snap to grid while moving selections and using the Move tool
...
Mouse click + Ctrl to snap to grid while moving.
2021-05-04 02:45:14 +03:00
Manolis Papadeas
7cbbf4399d
Implement Alt + mouse movement to quickly copy & move selection contents without cutting them from their original position
2021-05-03 21:10:49 +03:00
Manolis Papadeas
20275fc465
Snap movement to axis by holding Shift after mouse clicking
...
Works with the Move tool and with the Selection tools.
2021-05-03 18:33:51 +03:00
Manolis Papadeas
0a35615c24
Added a displace origin option to Rectangle, Ellipse and Rectangle Selection tools
...
Works with Mouse Click + Alt. Needs to be documented in the tooltips.
2021-05-03 03:11:12 +03:00
Manolis Papadeas
8f1c6bb3d3
Move selection with contents by default with all selection tools
...
Now, if you want to move the selection itself without its contents, you have to do Ctrl + Alt + Mouse click. Works the same with all selection tools.
2021-05-03 02:00:07 +03:00
Manolis Papadeas
4a1fcc4ca7
Add position and size as selection tool options
...
This allows the user to easily move and resize selections
2021-05-01 03:10:23 +03:00
Manolis Papadeas
708a1ddc20
Organize the selection tool files in a new folder
2021-04-28 03:06:03 +03:00