don't require a style for composited layers

This commit is contained in:
Konstantin Käfer
2014-05-21 13:40:59 +02:00
parent 13939b26d9
commit 834ef2eee8
2 changed files with 6 additions and 2 deletions

View File

@@ -186,10 +186,14 @@ struct CompositeClass {
};
struct CompositeProperties {
inline CompositeProperties() {}
bool enabled = true;
float opacity = 1.0;
};
const CompositeProperties defaultCompositeProperties;
}
#endif