Skip to content

Commit 3f2c141

Browse files
committed
refactor: undo renaming
1 parent 378193b commit 3f2c141

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

packages/devextreme/js/__internal/scheduler/shaders/current_time_shader_vertical.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { setHeight, setWidth } from '@js/core/utils/size';
33

44
import CurrentTimeShader from './current_time_shader';
55

6-
export const VERTICAL_DATE_TIME_SHADER_ALL_DAY_CLASS = 'dx-scheduler-date-time-shader-all-day';
6+
export const DATE_TIME_SHADER_ALL_DAY_CLASS = 'dx-scheduler-date-time-shader-all-day';
77

88
const DATE_TIME_SHADER_TOP_CLASS = 'dx-scheduler-date-time-shader-top';
99
const DATE_TIME_SHADER_BOTTOM_CLASS = 'dx-scheduler-date-time-shader-bottom';
@@ -121,7 +121,7 @@ class VerticalCurrentTimeShader extends CurrentTimeShader {
121121

122122
private renderAllDayShader(shaderWidth: number, i: number): void {
123123
if (this.workSpace.option('showAllDayPanel')) {
124-
this.$allDayIndicator = $('<div>').addClass(VERTICAL_DATE_TIME_SHADER_ALL_DAY_CLASS);
124+
this.$allDayIndicator = $('<div>').addClass(DATE_TIME_SHADER_ALL_DAY_CLASS);
125125
setHeight(this.$allDayIndicator, this.workSpace.getAllDayHeight());
126126
setWidth(this.$allDayIndicator, shaderWidth);
127127
this.$allDayIndicator.css('left', this.getShaderOffset(i, shaderWidth));

packages/devextreme/js/__internal/scheduler/workspaces/m_work_space.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ import { CompactAppointmentsHelper } from '../m_compact_appointments_helper';
7171
import type { SubscribeKey, SubscribeMethods } from '../m_subscribes';
7272
import tableCreatorModule from '../m_table_creator';
7373
import { utils } from '../m_utils';
74-
import VerticalShader, { VERTICAL_DATE_TIME_SHADER_ALL_DAY_CLASS } from '../shaders/current_time_shader_vertical';
74+
import VerticalShader, { DATE_TIME_SHADER_ALL_DAY_CLASS } from '../shaders/current_time_shader_vertical';
7575
import type { ResourceLoader } from '../utils/loader/resource_loader';
7676
import {
7777
getAppointmentGroupIndex,
@@ -956,7 +956,7 @@ class SchedulerWorkSpace extends Widget<WorkspaceOptionsInternal> {
956956
}
957957

958958
removeAllDayShaderIndicator(): void {
959-
this.$allDayPanel?.find(`.${VERTICAL_DATE_TIME_SHADER_ALL_DAY_CLASS}`).remove();
959+
this.$allDayPanel?.find(`.${DATE_TIME_SHADER_ALL_DAY_CLASS}`).remove();
960960
}
961961

962962
private getScrollbarWidth() {

0 commit comments

Comments
 (0)