diff --git a/libs/ui/include/psemek/ui/box_shape.hpp b/libs/ui/include/psemek/ui/box_shape.hpp index 1d4f3332..03438506 100644 --- a/libs/ui/include/psemek/ui/box_shape.hpp +++ b/libs/ui/include/psemek/ui/box_shape.hpp @@ -8,7 +8,7 @@ namespace psemek::ui struct box_shape : shape { - geom::box box; + geom::box box{{{0.f, 0.f}, {0.f, 0.f}}}; box_shape() = default; diff --git a/libs/ui/source/default_element_factory.cpp b/libs/ui/source/default_element_factory.cpp index 6d402b07..df784584 100644 --- a/libs/ui/source/default_element_factory.cpp +++ b/libs/ui/source/default_element_factory.cpp @@ -51,7 +51,7 @@ namespace psemek::ui } private: - box_shape shape_{{{{0.f, 0.f}, {0.f, 0.f}}}}; + box_shape shape_; }; }