From 92942b59221a7e5bf2c066134702874c1c5b82ff Mon Sep 17 00:00:00 2001 From: maxli Date: Tue, 22 Oct 2024 15:03:40 +0800 Subject: [PATCH] feat(layout): make ResetLayoutRecursive to public --- src/taitank_node.h | 2 +- taitank.podspec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/taitank_node.h b/src/taitank_node.h index f2cf8e7..361d3ea 100644 --- a/src/taitank_node.h +++ b/src/taitank_node.h @@ -108,11 +108,11 @@ class TaitankNode { FlexAlign GetNodeAlign(TaitankNodeRef item); void SetConfig(TaitankConfigRef config); TaitankConfigRef GetConfig() const; + void ResetLayoutRecursive(bool is_display_none = true); protected: TaitankDirection ResolveDirection(TaitankDirection parentDirection); void ResolveStyleValues(); - void ResetLayoutRecursive(bool is_display_none = true); void CacheLayoutOrMeasureResult(TaitankSize available_size, TaitankSizeMode measure_mode, FlexLayoutAction layout_action); void LayoutSingleNode(float available_width, MeasureMode width_measure_mode, diff --git a/taitank.podspec b/taitank.podspec index c6246a7..4b7922f 100644 --- a/taitank.podspec +++ b/taitank.podspec @@ -9,7 +9,7 @@ Pod::Spec.new do |s| puts 'taitank.podspec read begins' s.name = 'taitank' - s.version = '1.0.5' + s.version = '1.0.6' s.summary = 'Taitank Cross Platform Layout' # This description is used to generate tags and improve search results.