felixmariotto / three-mesh-ui

⏹ Make VR user interfaces for Three.js
https://felixmariotto.github.io/three-mesh-ui/#basic_setup
MIT License
1.3k stars 136 forks source link

Identical sub-expressions on both sides of operator '-' #232

Closed oleomachado closed 1 year ago

oleomachado commented 1 year ago

Hi, I was reading the code and found this line on the InlineManager.js file

image

I believe this may be a bug or a not required operation.

swingingtom commented 1 year ago

@oleomachado good catch !

swingingtom commented 1 year ago

Fixed in v6.5.4 https://github.com/felixmariotto/three-mesh-ui/blob/b9c19e542e5234bc964a44c1e7aa4eeb16676757/src/components/core/InlineManager.js#L48