mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-19 19:08:05 +08:00
Add scaling by nudging with the Alt key (#990)
* update current progress working on issue#930 * Issue#930: features other than local scaling implemented * runs cargo fmt * issue930: implemented features(local scaling disregraded) update: merged master branch and solved coflicts * combined scaling and nudge feature * combined scaling and nudge feature * resolved issues when trying to scale below 1. pixel and other comments * reduce code complexity * reduce complexity * Improve code readability/idiomaticness * Add hints --------- Co-authored-by: Shiro <shiro@damedane.local> Co-authored-by: Keavon Chambers <keavon@keavon.com>
This commit is contained in:
committed by
Keavon Chambers
parent
97b461377f
commit
77e69f4e5b
@@ -297,10 +297,7 @@ impl Fsm for PathToolFsmState {
|
||||
HintInfo::keys([Key::Shift], "Grow/Shrink Selection").prepend_plus(),
|
||||
]),
|
||||
HintGroup(vec![HintInfo::mouse(MouseMotion::LmbDrag, "Drag Selected")]),
|
||||
HintGroup(vec![
|
||||
HintInfo::arrow_keys("Nudge Selected (coming soon)"),
|
||||
HintInfo::keys([Key::Shift], "Big Increment Nudge").prepend_plus(),
|
||||
]),
|
||||
HintGroup(vec![HintInfo::arrow_keys("Nudge Selected (coming soon)"), HintInfo::keys([Key::Shift], "10x").prepend_plus()]),
|
||||
HintGroup(vec![
|
||||
HintInfo::keys([Key::KeyG], "Grab Selected (coming soon)"),
|
||||
HintInfo::keys([Key::KeyR], "Rotate Selected (coming soon)"),
|
||||
|
||||
@@ -757,7 +757,12 @@ impl Fsm for SelectToolFsmState {
|
||||
HintInfo::mouse(MouseMotion::LmbDrag, "Select Area"),
|
||||
HintInfo::keys([Key::Shift], "Grow/Shrink Selection").prepend_plus(),
|
||||
]),
|
||||
HintGroup(vec![HintInfo::arrow_keys("Nudge Selected"), HintInfo::keys([Key::Shift], "Big Increment Nudge").prepend_plus()]),
|
||||
HintGroup(vec![
|
||||
HintInfo::arrow_keys("Nudge Selected"),
|
||||
HintInfo::keys([Key::Shift], "10x").prepend_plus(),
|
||||
HintInfo::keys([Key::Alt], "Resize Corner").prepend_plus(),
|
||||
HintInfo::keys([Key::Shift], "Opp. Corner").prepend_plus(),
|
||||
]),
|
||||
HintGroup(vec![
|
||||
HintInfo::keys([Key::Alt], "Move Duplicate"),
|
||||
HintInfo::keys([Key::Control, Key::KeyD], "Duplicate").add_mac_keys([Key::Command, Key::KeyD]),
|
||||
|
||||
Reference in New Issue
Block a user