Skip to content

Commit

Permalink
Showing 2 changed files with 11 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ui",
"version": "0.30.1",
"version": "0.30.2",
"private": true,
"scripts": {
"dev": "react-scripts start",
14 changes: 10 additions & 4 deletions src/components/Machine3D/Machine3D.tsx
Original file line number Diff line number Diff line change
@@ -74,12 +74,18 @@ export default function Machine3D({ item }: IMachine3D) {
<boxBufferGeometry args={[0.6, 0.6, 0.6]} />
<meshNormalMaterial
transparent={
findBarcodeInput && item.barcode.includes(findBarcodeInput)
? false
: true
findBarcodeInput
? item.barcode.includes(findBarcodeInput)
? false
: true
: false
}
opacity={
findBarcodeInput && item.barcode.includes(findBarcodeInput) ? 1 : 0.1
findBarcodeInput
? item.barcode.includes(findBarcodeInput)
? 1
: 0.1
: 1
}
/>
{hovered && (

0 comments on commit ef64c17

Please sign in to comment.