mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-19 14:10:14 -05:00
Fix new failing test.
This commit is contained in:
parent
b512532d23
commit
72082bdcff
1 changed files with 1 additions and 1 deletions
|
@ -176,7 +176,7 @@ var Style = Base.extend(new function() {
|
|||
}
|
||||
for (var i = 0, l = children.length; i < l; i++) {
|
||||
var childValue = children[i]._style[get]();
|
||||
if (!value) {
|
||||
if (i === 0) {
|
||||
value = childValue;
|
||||
} else if (!Base.equals(value, childValue)) {
|
||||
// If there is another item with a different
|
||||
|
|
Loading…
Reference in a new issue