X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fui%2FLabel.hpp;h=7ba884b3d6d47430df5c406d05d28395a746946b;hb=a19fdf3d9f0d7ecbf6eeeec817856d85049a8336;hp=1bc7e86bc4f0de8e733818c5eb3bd427b556bf1c;hpb=4ec93ba5186dca958be6e2a4dc2aaf3572a524cb;p=blobs.git diff --git a/src/ui/Label.hpp b/src/ui/Label.hpp index 1bc7e86..7ba884b 100644 --- a/src/ui/Label.hpp +++ b/src/ui/Label.hpp @@ -30,7 +30,7 @@ public: void Draw(app::Assets &, graphics::Viewport &) noexcept override; private: - void Update(); + void FixLayout() override; private: const graphics::Font *font; @@ -38,7 +38,6 @@ private: graphics::Texture tex; glm::vec4 fg_color; glm::vec4 bg_color; - bool dirty; };