Skip to content

Commit 031e78b

Browse files
committed
chore: remove redundant code
1 parent 6e22bb2 commit 031e78b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/handle/src/handles/material.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export function setupHandlesContextHoverMaterial(
3737
material.opacity = (isHovered ? hoverOpacity : opacity) ?? 1
3838

3939
if (!enabled) {
40-
material.opacity *= enabled ? 1 : 0.5
40+
material.opacity *= 0.5
4141
material.color.lerp(new Color(1, 1, 1), 0.5)
4242
}
4343
})

0 commit comments

Comments
 (0)