2 * Copyright (c) 2014-present, Facebook, Inc.
4 * This source code is licensed under the MIT license found in the
5 * LICENSE file in the root directory of this source tree.
10 const std::array<bool, YGExperimentalFeatureCount>
11 kYGDefaultExperimentalFeatures = {{false}};
13 YGConfig::YGConfig(YGLogger logger)
14 : experimentalFeatures(kYGDefaultExperimentalFeatures),
15 useWebDefaults(false),
16 useLegacyStretchBehaviour(false),
17 shouldDiffLayoutWithoutLegacyStretchBehaviour(false),
18 pointScaleFactor(1.0f), logger(logger), cloneNodeCallback(nullptr),