utsuboco / r3f-perf

Easily monitor your ThreeJS performances.
https://codesandbox.io/s/perlin-cubes-r3f-perf-wtp9t?file=/src/App.js
MIT License
576 stars 21 forks source link

Position and/or className support #2

Closed austinmayer closed 3 years ago

austinmayer commented 3 years ago

Fantastic lib, thanks for formalizing this into a new standard package for r3f.

Using this with other dev tool libraries such as https://github.com/pmndrs/use-tweaks causes UI collisions as they are both positioned in the top right. Thoughts on adding support for position (top, right, bottom, left) and/or className support on <Perf /> so manual CSS overrides are possible?

RenaudRohlinger commented 3 years ago

Oh that's a good idea. Best option would be able to easily extend the className I guess. I will work on that tomorrow 👍

RenaudRohlinger commented 3 years ago

@austinmayer You can now override the className with v0.76.0

austinmayer commented 3 years ago

Tested and working great, thanks!