@lightningjs/ui
Advanced tools
Comparing version 1.2.4 to 1.2.5
{ | ||
"name": "@lightningjs/ui", | ||
"version": "1.2.4", | ||
"version": "1.2.5", | ||
"description": "Standard UI components for Lightning", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -197,9 +197,8 @@ /* | ||
const boundStart = viewboundMain * 0.66; | ||
const boundStart = -viewboundMain * 0.66; | ||
const boundEnd = bound + viewboundMain * 0.66; | ||
let rem = children.reduce((acc, child, index) => { | ||
if((offset + (child[main] + child[mainDim]) > bound + boundEnd) || | ||
(offset + child[main] < -boundStart)) { | ||
acc.push(index); | ||
if(((offset + child[main]) + child[mainDim] < boundStart) || (offset + child[main] > boundEnd)) { | ||
acc.push(index) | ||
} | ||
@@ -206,0 +205,0 @@ return acc; |
152508
2145