Famous/famous-angular

Origin inconsistency in docs vs stylesheet

akuz opened this issue · 0 comments

akuz commented

The default "origin" property is [0, 0] as per documentation here: https://famo.us/guides/layout

However, in this stylesheet: https://github.com/Famous/famous-angular/blob/master/src/styles/famous-angular.css

A different default is defined as:

.famous-surface {
...
transform-origin: center center;
...

This switches the default value of origin to [0.5, 0.5]