Skip to content

Commit

Permalink
feat(version): release 0.30.2 version
Browse files Browse the repository at this point in the history
  • Loading branch information
gokhangunduz committed Jan 10, 2024
1 parent 079fd59 commit ef64c17
Show file tree
Hide file tree
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",
Expand Down
14 changes: 10 additions & 4 deletions src/components/Machine3D/Machine3D.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 && (
Expand Down

0 comments on commit ef64c17

Please sign in to comment.