paper.js/test
sasensi 2e75467fb4 Fix group selected bounds and position color
Group selected color was applied differently to its bounds and position
depending on whether it had children or not when selected color was set.
This resulted in an unpredictable behaviour from a user point of view.
To change that:
- When `item.setSelectedColor()` is called, value is now always stored
in `item._style._values`, independently from the fact that item has
children or not.
- An helper method `compareCanvas()` is added to the test suite to allow
comparing selection rendering of a known working case to a failing one.
Two provided callbacks are executed in a dedicated `<canvas>`/`Project`
context and both results are compared with `resemble.js`.
2018-11-06 11:26:12 +01:00
..
assets Travis CI: Use Arial in all SVG tests and reduce tolerance. 2016-03-17 11:35:06 +01:00
tests Fix group selected bounds and position color 2018-11-06 11:26:12 +01:00
helpers.js Fix group selected bounds and position color 2018-11-06 11:26:12 +01:00
index.html Tests: Start getting QUnit tests to work on Node.js 2016-01-31 12:43:20 +01:00
load.js Tests: Improve QUnit test logging and various cleanup on helpers. 2016-01-31 12:43:38 +01:00