diff options
Diffstat (limited to 'include/cru/ui/render/ScrollRenderObject.hpp')
-rw-r--r-- | include/cru/ui/render/ScrollRenderObject.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/cru/ui/render/ScrollRenderObject.hpp b/include/cru/ui/render/ScrollRenderObject.hpp index aed25f8e..7b98ab72 100644 --- a/include/cru/ui/render/ScrollRenderObject.hpp +++ b/include/cru/ui/render/ScrollRenderObject.hpp @@ -60,6 +60,8 @@ class ScrollRenderObject : public RenderObject { // Param margin is just for convenience and it will just add to the rect. void ScrollToContain(const Rect& rect, const Thickness& margin = Thickness{}); + std::u16string_view GetName() const override { return u"ScrollRenderObject"; } + protected: void OnDrawCore(platform::graphics::IPainter* painter) override; |