Expose the resolved direction in the node's layout

This commit is contained in:
Lucas Rocha
2015-05-20 11:12:24 +01:00
parent ee1cbacc30
commit 524b44200a
7 changed files with 33 additions and 0 deletions

View File

@@ -84,6 +84,7 @@ typedef enum {
typedef struct {
float position[4];
float dimensions[2];
css_direction_t direction;
// Instead of recomputing the entire layout every single time, we
// cache some information to break early when nothing changed