Add support for scaled images and brushing

This commit is contained in:
Winston Chang
2018-07-06 20:10:28 -05:00
parent 909bfa8c14
commit 950df1e25c
2 changed files with 384 additions and 298 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -249,7 +249,7 @@ function mapValues(obj, f) {
const newObj = {};
for (let key in obj) {
if (obj.hasOwnProperty(key))
newObj[key] = f(obj[key]);
newObj[key] = f(obj[key], key, obj);
}
return newObj;
}