mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 06:05:38 +00:00
Set the clang-format option SpaceBeforeCpp11BracedList to true.
This commit is contained in:
parent
e64976d4bc
commit
8a6652552f
|
@ -119,7 +119,7 @@ SpaceAfterCStyleCast: false
|
|||
SpaceAfterLogicalNot: false
|
||||
SpaceAfterTemplateKeyword: true
|
||||
SpaceBeforeAssignmentOperators: true
|
||||
SpaceBeforeCpp11BracedList: false
|
||||
SpaceBeforeCpp11BracedList: true
|
||||
SpaceBeforeCtorInitializerColon: true
|
||||
SpaceBeforeInheritanceColon: true
|
||||
SpaceBeforeParens: ControlStatements
|
||||
|
|
|
@ -26,8 +26,9 @@ std::vector<std::string> ThemeData::sSupportedViews{{"all"}, {"system"}, {"
|
|||
std::vector<std::string> ThemeData::sSupportedFeatures {
|
||||
{"navigationsounds"}, {"video"}, {"carousel"}, {"z-index"}, {"visible"}};
|
||||
|
||||
std::map<std::string, std::map<std::string, ThemeData::ElementPropertyType>> ThemeData::sElementMap{
|
||||
{"image",
|
||||
std::map<std::string, std::map<std::string, ThemeData::ElementPropertyType>>
|
||||
ThemeData::sElementMap // Line break.
|
||||
{{"image",
|
||||
{{"pos", NORMALIZED_PAIR},
|
||||
{"size", NORMALIZED_PAIR},
|
||||
{"maxSize", NORMALIZED_PAIR},
|
||||
|
|
|
@ -278,8 +278,8 @@ void ImageGridComponent<T>::applyTheme(const std::shared_ptr<ThemeData>& theme,
|
|||
mMargin = elem->get<glm::vec2>("margin") * screen;
|
||||
|
||||
if (elem->has("padding"))
|
||||
mPadding =
|
||||
elem->get<glm::vec4>("padding") * glm::vec4{screen.x, screen.y, screen.x, screen.y};
|
||||
mPadding = elem->get<glm::vec4>("padding") *
|
||||
glm::vec4 {screen.x, screen.y, screen.x, screen.y};
|
||||
|
||||
if (elem->has("autoLayout"))
|
||||
mAutoLayout = elem->get<glm::vec2>("autoLayout");
|
||||
|
|
Loading…
Reference in a new issue