From e05a28463d4a90a16fc82b1e00d7f6ee65e30779 Mon Sep 17 00:00:00 2001 From: lisyarus Date: Mon, 23 May 2022 20:32:49 +0300 Subject: [PATCH] Fix reshape caching --- libs/ui/source/element.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libs/ui/source/element.cpp b/libs/ui/source/element.cpp index 8db8782b..a5f79b20 100644 --- a/libs/ui/source/element.cpp +++ b/libs/ui/source/element.cpp @@ -198,6 +198,8 @@ namespace psemek::ui if (!loop_) return; + reshape_posted_ = true; + auto weak_self = weak_from_this(); post([weak_self]{