8thwall / web

8th Wall Web projects and resources.
519 stars 326 forks source link

Canvas position always has 1px strip at the top #172

Open vespaiach opened 3 years ago

vespaiach commented 3 years ago

I am using the xrextras library in my project and I always get back the canvas with style top:1px. I'm not sure, what 1px at the top is for, but it makes my app has a 1px strip at the top.

When I checkout your sample projects. For example, this one https://8thwall.8thwall.app/camera-shaders/. I also notice that 1px at the top 😆 . Is that deliberate? Should I remove that strip in my app or leave it there?

In my attached picture, there is a small white strip at the top

Screen Shot 2021-06-07 at 11 35 49 PM