moved PtrJNode map to YGJtypes.h and passing layout context as data in LayoutPassEnd Event
Summary: Move PtrJNodeMap to header file so that it can be accessed in events subscribers outside yoga Reviewed By: davidaurelio Differential Revision: D15602627 fbshipit-source-id: bb5bd5bbf8dcb279f5f87a4fd7287909d4e895d8
This commit is contained in:
committed by
Facebook Github Bot
parent
195c166efe
commit
8b17459254
@@ -4093,7 +4093,7 @@ void YGNodeCalculateLayoutWithContext(
|
||||
marker = nullptr;
|
||||
|
||||
#ifdef YG_ENABLE_EVENTS
|
||||
Event::publish<Event::LayoutPassEnd>(node);
|
||||
Event::publish<Event::LayoutPassEnd>(node, {layoutContext});
|
||||
#endif
|
||||
|
||||
// We want to get rid off `useLegacyStretchBehaviour` from YGConfig. But we
|
||||
|
Reference in New Issue
Block a user