diff --git a/libs/canvas/box.cc b/libs/canvas/box.cc index 9d9217dd7d..91b9714d7a 100644 --- a/libs/canvas/box.cc +++ b/libs/canvas/box.cc @@ -59,16 +59,7 @@ Box::Box (Item* parent, Duple const & p, Orientation o) , ignore_child_changes (false) { set_position (p); -} - -void -Box::render (Rect const & area, Cairo::RefPtr context) const -{ - if (_fill || _outline) { - Rectangle::render (area, context); - } - - Item::render_children (area, context); + set_outline_width (3); } void diff --git a/libs/canvas/canvas/box.h b/libs/canvas/canvas/box.h index b97e8c6f7b..2d884a5e98 100644 --- a/libs/canvas/canvas/box.h +++ b/libs/canvas/canvas/box.h @@ -67,7 +67,6 @@ public: void set_homogenous (bool); void compute_bounding_box () const; - void render (Rect const & area, Cairo::RefPtr context) const; protected: Orientation orientation;