File tree Expand file tree Collapse file tree
packages/devextreme/js/__internal/scheduler/workspaces Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -462,13 +462,13 @@ class SchedulerTimeline extends SchedulerWorkSpace {
462462 const width = this . getIndicationWidth ( ) ;
463463
464464 if ( this . option ( 'groupOrientation' ) === 'vertical' ) {
465- $indicator = this . _createIndicator ( $container ) ;
465+ $indicator = this . createIndicator ( $container ) ;
466466 setHeight ( $indicator , getBoundingRect ( $container . get ( 0 ) ) . height ) ;
467467 $indicator . css ( 'left' , rtlOffset ? rtlOffset - width : width ) ;
468468 } else {
469469 for ( let i = 0 ; i < groupCount ; i ++ ) {
470470 const offset = this . isGroupedByDate ( ) ? i * this . getCellWidth ( ) : this . _getCellCount ( ) * this . getCellWidth ( ) * i ;
471- $indicator = this . _createIndicator ( $container ) ;
471+ $indicator = this . createIndicator ( $container ) ;
472472 setHeight ( $indicator , getBoundingRect ( $container . get ( 0 ) ) . height ) ;
473473
474474 $indicator . css ( 'left' , rtlOffset ? rtlOffset - width - offset : width + offset ) ;
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ class SchedulerWorkSpaceIndicator extends SchedulerWorkSpace {
6464 const groupedByDate = this . isGroupedByDate ( ) ;
6565 const repeatCount = groupedByDate ? 1 : groupCount ;
6666 for ( let i = 0 ; i < repeatCount ; i ++ ) {
67- const $indicator = this . _createIndicator ( $container ) ;
67+ const $indicator = this . createIndicator ( $container ) ;
6868
6969 setWidth (
7070 $indicator ,
@@ -74,7 +74,7 @@ class SchedulerWorkSpaceIndicator extends SchedulerWorkSpace {
7474 }
7575 }
7676
77- _createIndicator ( $container ) {
77+ protected createIndicator ( $container ) {
7878 const $indicator = $ ( '<div>' ) . addClass ( SCHEDULER_DATE_TIME_INDICATOR_CLASS ) ;
7979 $container . append ( $indicator ) ;
8080
You can’t perform that action at this time.
0 commit comments