Chris Willis-Ford
d99176bb5f
Merge pull request #197 from cwillisf/fix-ifyloader-windows
...
Fix ify-loader test on Windows / Cygwin
2017-11-16 12:00:38 -08:00
Ray Schamp
0f69cb7f7c
perf(setRotationCenter): compare new setRotationCenter values after truncating to 32bit
...
Compare new setRotationCenter values after truncating to 32bit
2017-11-16 09:45:06 -05:00
Christopher Willis-Ford
c3445971fd
Fix ify-loader test on Windows / Cygwin
...
On Windows and Cygwin the path to JS source files may contain
backslashes, forward slashes, or a mix. The regex used to test whether
or not to use `ify-loader` contains path separators; this change allows
either slash instead of requiring only forward slashes.
2017-11-15 17:20:54 -08:00
Michael "Z" Goddard
b060c07db1
Compare new setRotationCenter values after truncating to 32bit
...
`Skin._rotationCenter` is a twgl vector or said another way a
Float32Array. JavaScript casts values stored in this array as 32 bit
floats instead of JavaScript's standard 64 bit floats. Comparing the
equality, like `setRotationCenter` does, of a 64 bit float against a
value stored in a 32 bit container will virtually always be false.
Truncating the new value into a 32 bit (losing precision) will give a
more useful comparison and remove a lot of current false positives.
2017-11-07 17:33:21 -05:00
Paul Kaplan
998d3e129a
Merge pull request #181 from paulkaplan/fix-stroke-measurement
...
Use zero if cannot parse stroke width
2017-10-12 16:33:09 -04:00
Paul Kaplan
be1306387d
Use zero if cannot parse stroke width
2017-10-12 15:59:45 -04:00
Paul Kaplan
b84721d5b3
Merge pull request #177 from paulkaplan/say-think
...
Say/think bubble SVG templates
2017-10-11 14:19:53 -04:00
Paul Kaplan
04e9d6c414
Change toString to buildString
2017-10-11 13:41:42 -04:00
Paul Kaplan
f989c80f20
Merge pull request #176 from paulkaplan/text-wrapping
...
Add utils for text wrapping, originally by CWF
2017-10-11 13:32:17 -04:00
Paul Kaplan
69ae065b92
Text bubble rendering
2017-10-10 09:09:23 -04:00
Paul Kaplan
ebe2db2e02
Add utils for text wrapping, originally by CWF
2017-10-10 09:06:38 -04:00
Paul Kaplan
0b3e7c37c2
Merge pull request #179 from paulkaplan/fix-bbox-strokes
...
Enlarge bounding box by the largest stroke width.
2017-10-06 16:28:51 -04:00
Paul Kaplan
ab4046b852
Only enlarge by half stroke width on either side
2017-10-05 13:30:01 -04:00
Paul Kaplan
3565c95f83
Enlarge bounding box by largest stroke width.
2017-10-05 11:03:23 -04:00
Chris Willis-Ford
77c163e569
Merge pull request #173 from LLK/greenkeeper/webpack-dev-server-2.8.2
...
chore(package): update webpack-dev-server to version 2.8.2
2017-09-18 12:38:11 -07:00
greenkeeper[bot]
ecbf91039c
chore(package): update webpack-dev-server to version 2.8.2
2017-09-14 19:51:36 +00:00
Chris Willis-Ford
93aa64c89f
Merge pull request #171 from LLK/greenkeeper/twgl.js-3.7.0
...
Update twgl.js to the latest version 🚀
2017-09-14 12:32:03 -07:00
Chris Willis-Ford
1b282ea5d0
Merge pull request #170 from LLK/greenkeeper/babel-eslint-8.0.0
...
Update babel-eslint to the latest version 🚀
2017-09-14 12:28:43 -07:00
greenkeeper[bot]
ecfc6429b8
chore(package): update jsdoc to version 3.5.5
2017-09-14 03:15:59 +00:00
greenkeeper[bot]
303a1840ef
chore(package): update twgl.js to version 3.7.0
2017-09-13 14:06:52 +00:00
greenkeeper[bot]
9368724da5
chore(package): update babel-eslint to version 8.0.0
2017-09-12 17:31:06 +00:00
Chris Willis-Ford
c0d0e78bbb
Merge pull request #162 from joshlory/color-touching-tolerance
...
Match Scratch 2.0 threshold for `isTouchingColor`
2017-09-06 17:48:12 -06:00
Chris Willis-Ford
2a9aee5014
Merge pull request #167 from LLK/greenkeeper/twgl.js-3.5.0
...
chore(package): update twgl.js to version 3.5.0
2017-09-06 17:42:16 -06:00
Chris Willis-Ford
1e54b1c894
Merge branch 'develop' into greenkeeper/twgl.js-3.5.0
2017-09-06 16:17:26 -06:00
Chris Willis-Ford
8248eb498d
Merge pull request #166 from LLK/greenkeeper/webpack-3.5.6
...
chore(package): update webpack to version 3.5.6
2017-09-06 16:08:15 -06:00
Chris Willis-Ford
e60c0202d8
Merge pull request #140 from LLK/greenkeeper/gh-pages-1.0.0
...
Update gh-pages to the latest version 🚀
2017-09-06 16:01:56 -06:00
Chris Willis-Ford
c9b760c869
Merge branch 'develop' into greenkeeper/gh-pages-1.0.0
2017-09-06 15:55:19 -06:00
Chris Willis-Ford
5d5ac5d66b
Merge pull request #157 from LLK/greenkeeper/eslint-config-scratch-4.0.0
...
Update eslint-config-scratch to the latest version 🚀
2017-09-06 15:54:00 -06:00
Christopher Willis-Ford
737a94b04b
Lint fixes
2017-09-06 15:50:01 -06:00
Chris Willis-Ford
f62ab0f689
Merge branch 'develop' into greenkeeper/eslint-config-scratch-4.0.0
2017-09-06 15:32:08 -06:00
Chris Willis-Ford
9221fcec83
Merge pull request #165 from LLK/greenkeeper/eslint-4.6.1
...
chore(package): update eslint to version 4.6.1
2017-09-06 15:28:32 -06:00
Christopher Willis-Ford
49f7b06dbe
Lint fixes
2017-09-06 15:23:28 -06:00
Chris Willis-Ford
5c18436f20
Merge pull request #164 from LLK/greenkeeper/babel-loader-7.1.2
...
chore(package): update babel-loader to version 7.1.2
2017-09-06 15:10:39 -06:00
Chris Willis-Ford
34fe5435be
Merge pull request #161 from joshlory/drawable-scale-tests
...
Add Drawable.prototype.getAABB coverage for scale transforms
2017-09-06 13:46:48 -06:00
Paul Kaplan
d59089e1b5
Merge pull request #159 from paulkaplan/color-picking
...
Add color extraction method to renderer
2017-09-06 13:54:08 -04:00
Paul Kaplan
ca0004f043
Fix clear color
2017-09-06 13:50:22 -04:00
greenkeeper[bot]
c25ac78e98
chore(package): update webpack to version 3.5.6
...
Closes #146
2017-09-06 17:05:50 +00:00
Paul Kaplan
471f03e310
Fixup from CWF comments on blending
2017-09-05 15:29:37 -04:00
greenkeeper[bot]
1487f79f58
chore(package): update eslint to version 4.6.1
...
Closes #147
2017-09-04 00:11:03 +00:00
DD Liu
ef7f1d2558
Merge pull request #163 from fsih/updateSvg2
...
Update references to the old skin
2017-08-31 17:17:54 -04:00
DD
553af92910
Update references to the old skin
2017-08-31 17:04:05 -04:00
DD Liu
4d04f3c646
Merge pull request #160 from fsih/updateSvg
...
Add updateSVGSkin
2017-08-31 13:17:49 -04:00
DD
fa12b523c9
Don't change the skin ID when making a new one
2017-08-31 11:38:44 -04:00
Josh Lory
1cfaf57e8b
Match Scratch 2.0 threshold for isTouchingColor
2017-08-30 21:21:27 -07:00
Josh Lory
1ec7c046c9
Add Drawable.prototype.getAABB coverage for scale transforms
2017-08-30 20:46:27 -07:00
Chris Willis-Ford
9736ced8df
Merge pull request #155 from joshlory/drawable-aabb-tests
...
Add initial test coverage for Drawable.prototype.getAABB
2017-08-30 16:56:11 -07:00
DD
29366df1d0
Make updateSVGSkin work when converting from bitmap to SVG
2017-08-30 18:24:56 -04:00
DD
66f362faed
Add updateSVGSkin
2017-08-30 17:47:13 -04:00
greenkeeper[bot]
7e78f84fa6
chore(package): update twgl.js to version 3.5.0
...
Closes #141
2017-08-29 09:36:11 +00:00
Paul Kaplan
c33f0e46ce
Add color extraction method to renderer
2017-08-25 10:05:46 -04:00