This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
Daniel Alvarez
Posted Jul 18 - Read on Facebook

I got the following problem. I'm working on Windows + Atom. I downloaded the most recent version from the Github repository. My layers are not centering using layer.center(), also tried to give x and y value of 0.

I can't get to center the layer (it is not even showing) :(

6 Comments

Niels van Hoorn

Could you post the code here?
And is there maybe an error showing in the development console?

Daniel Alvarez

I'm doing this very simple example.

Niels van Hoorn

Hmmm, apart from the typo in 'height' (which shouldn't cause this error), I can't see anything wrong with this. What are you using for the preview and do you get the same error in Chrome?

Niels van Hoorn

Could you maybe 'Toggle Developer Tools' in Atom and see if you can get a stack trace from the error in your preview window?

Daniel Alvarez

I got to see the object, but I have to remove the BackgroundLayer

Daniel Alvarez

I fix it. I tried to follow some tutorials, but I just got a the backgroundLayer color and no other Layer displaying.

Read the entire post on Facebook