Uh oh!
There was an error while loading. Please reload this page.
Add scaling by nudging with the Alt key - #990
Conversation
…ged master branch and solved coflicts
Keavon
left a comment
There was a problem hiding this comment.
The feature is looking good! There is a bug in an edge case: if you try to resize it down to zero, it behaves strangely. Please fix this by preventing the scaling of the layer to be less than 1px wide or 1px tall. If the nudge would cause it to be less than 1px (or 0 or even a negative number), reset it back to 1px wide or tall.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Keavon
left a comment
There was a problem hiding this comment.
I've added more tips to simplify. But this isn't an exhaustive list. Please keep thinking about every way you can possibly make it even simpler and try those, since it still has a sizable chunk of complexity that can be cut out. This is a good exercise to learn Rust in the process.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
* 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>
* 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>
Uh oh!
There was an error while loading. Please reload this page.