File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -178,7 +178,7 @@ export class TreePattern<V> implements TreeInputs<V> {
178178 readonly followFocus = computed ( ( ) => this . inputs . selectionMode ( ) === 'follow' ) ;
179179
180180 /** Whether the tree direction is RTL. */
181- readonly isRtl = computed ( ( ) => this . inputs . textDirection ( ) === 'rtl' ) ;
181+ readonly isRtl = computed ( ( ) => this . textDirection ( ) === 'rtl' ) ;
182182
183183 /** The key for navigating to the previous item. */
184184 readonly prevKey = computed ( ( ) => {
@@ -348,7 +348,7 @@ export class TreePattern<V> implements TreeInputs<V> {
348348 readonly orientation : SignalLike < 'vertical' | 'horizontal' > = ( ) => this . inputs . orientation ( ) ;
349349
350350 /** The text direction of the tree. */
351- readonly textDirection : SignalLike < 'ltr' | 'rtl' > = ( ) => this . textDirection ( ) ;
351+ readonly textDirection : SignalLike < 'ltr' | 'rtl' > = ( ) => this . inputs . textDirection ( ) ;
352352
353353 /** Whether multiple items can be selected at the same time. */
354354 readonly multi : SignalLike < boolean > = computed ( ( ) => ( this . nav ( ) ? false : this . inputs . multi ( ) ) ) ;
You can’t perform that action at this time.
0 commit comments