From 9dc210c9d84fbd64e75a95ef5fe6c17a072d602a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89milie=20Feral?= Date: Wed, 12 Sep 2018 10:47:14 +0200 Subject: [PATCH] [poincare] FractionLayout add parenthesis to all children when serializing --- poincare/include/poincare/fraction_layout_node.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/poincare/include/poincare/fraction_layout_node.h b/poincare/include/poincare/fraction_layout_node.h index 41efd366a..e3d1a3d00 100644 --- a/poincare/include/poincare/fraction_layout_node.h +++ b/poincare/include/poincare/fraction_layout_node.h @@ -43,6 +43,8 @@ public: #endif protected: + // SerializationInterface + bool childNeedsParenthesis(const SerializationHelperInterface * child) const override { return true; } // LayoutNode KDSize computeSize() override; KDCoordinate computeBaseline() override;