From 6315e654ce0be2d2cc148e9ff80f611ac1176348 Mon Sep 17 00:00:00 2001 From: Yuqian Yang Date: Thu, 6 Nov 2025 17:27:10 +0800 Subject: Refactor Event. --- include/cru/ui/style/StyleRuleSet.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/cru/ui/style') diff --git a/include/cru/ui/style/StyleRuleSet.h b/include/cru/ui/style/StyleRuleSet.h index 0b7a237d..d89c3ae1 100644 --- a/include/cru/ui/style/StyleRuleSet.h +++ b/include/cru/ui/style/StyleRuleSet.h @@ -63,7 +63,7 @@ class CRU_UI_API StyleRuleSet : public Object, public model::IListChangeNotify { Event list_change_event_; std::shared_ptr parent_ = nullptr; - EventRevokerGuard parent_change_event_guard_; + EventHandlerRevokerGuard parent_change_event_guard_; std::vector rules_; }; @@ -90,6 +90,6 @@ class CRU_UI_API StyleRuleSetBind { // child first, parent last. std::vector ruleset_chain_cache_; - EventRevokerListGuard guard_; + EventHandlerRevokerListGuard guard_; }; } // namespace cru::ui::style -- cgit v1.2.3