feat(core): Snapping of percentage options
This commit implements the snapping of percentage options as outlined in this proposal: https://github.com/freesewing/freesewing/discussions/1331 Please refer to the link above for all details
This commit is contained in:
parent
0da866d923
commit
025cf9b88e
7 changed files with 161 additions and 4 deletions
|
@ -16,4 +16,11 @@ export default {
|
|||
utils,
|
||||
patterns: {},
|
||||
plugins: {},
|
||||
/**
|
||||
* This pctBasedOn() method makes it easy to add the optional
|
||||
* toAbs() and fromAbs() methods to percentage options config
|
||||
*
|
||||
* It was backported from the v3 roadmap into v2.
|
||||
**/
|
||||
pctBasedOn: utils.pctBasedOn,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue