You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It makes drawing straight lines quicker and is aligned with the shortcut Inkscape uses, for example. It makes such that one does not need to click the line tool, then go to the line settings and change the toggle every time the user needs to draw a 45deg or 90deg line.
Suggested solution
Bind "CTRL Down" to the behavior "Line options > Line shape > Locked direction > True" and "CTRL Up" to the behavior of "Line options > Line shape > Locked direction > False" when the option is unmarked.
(If the option is marked, then maybe invert the previous behavior? Or just do nothing).
Possible drawbacks
One more keybinding in the shortcuts page. Maybe section specific to the line tool? Should more keyboard shortcuts be added at some point in the future?
Possible alternatives
Continue using the settings option every time, which reduces productivity.
Binding to other keys: MS Paint also has this feature, but they use SHIFT instead. I'd prefer if the Inkscape shortcut was followed, but I could understand if the community prefers another path.
Thanks everyone and have a good day!
The text was updated successfully, but these errors were encountered:
It wasn't clear for me that SHIFT already does this, but only if you press it before drawing. I think a better behavior would be to be able to change it when holding/moving the tool, as it is more flexible.
Allow the modifier state to happen at on_motion_on_area() as well.
pedropaulosuzuki
changed the title
[Line tool] Bind CTRL shortcut to "Locked direction" line option
[Line tool] Bind SHIFT and ALT shortcuts at on_motion_on_area() as well
Jun 4, 2024
Use case
It makes drawing straight lines quicker and is aligned with the shortcut Inkscape uses, for example. It makes such that one does not need to click the line tool, then go to the line settings and change the toggle every time the user needs to draw a 45deg or 90deg line.
Suggested solution
Bind "CTRL Down" to the behavior "Line options > Line shape > Locked direction > True" and "CTRL Up" to the behavior of "Line options > Line shape > Locked direction > False" when the option is unmarked.
(If the option is marked, then maybe invert the previous behavior? Or just do nothing).
Possible drawbacks
One more keybinding in the shortcuts page. Maybe section specific to the line tool? Should more keyboard shortcuts be added at some point in the future?
Possible alternatives
Continue using the settings option every time, which reduces productivity.
Binding to other keys: MS Paint also has this feature, but they use SHIFT instead. I'd prefer if the Inkscape shortcut was followed, but I could understand if the community prefers another path.
Thanks everyone and have a good day!
The text was updated successfully, but these errors were encountered: