Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to change the background color?? #94

Open
KiWiGiW opened this issue Sep 21, 2021 · 1 comment
Open

Is it possible to change the background color?? #94

KiWiGiW opened this issue Sep 21, 2021 · 1 comment

Comments

@KiWiGiW
Copy link

KiWiGiW commented Sep 21, 2021

I've been searching on the viewer file and found some interesting methods to use like viewer.viewFit([id]), but I could not foudn nothing to change the background color.

@aothms
Copy link
Member

aothms commented Sep 21, 2021

iirc the clearColor is transparent https://github.com/opensourceBIM/BIMsurfer/blob/master/viewer/viewer.js#L577 Not sure if this is properly propagated to a transparent html . If so, you can probably just set the background color using CSS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants