gantt-task-react-v 1.0.55 → 1.0.57
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -11126,8 +11126,8 @@ const GanttTodayInner = ({
|
|
|
11126
11126
|
return null;
|
|
11127
11127
|
}
|
|
11128
11128
|
const today = /* @__PURE__ */ new Date();
|
|
11129
|
-
const
|
|
11130
|
-
const x = rtl ?
|
|
11129
|
+
const tickX = taskXCoordinate(today, startDate, viewMode, columnWidth);
|
|
11130
|
+
const x = rtl ? tickX + columnWidth : tickX;
|
|
11131
11131
|
const color = todayColor || "var(--gantt-calendar-today-color)";
|
|
11132
11132
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
11133
11133
|
/* @__PURE__ */ jsx(
|
|
@@ -11178,8 +11178,8 @@ const GanttTodayInner = ({
|
|
|
11178
11178
|
if (!showDataDateLine || !dataDate) {
|
|
11179
11179
|
return null;
|
|
11180
11180
|
}
|
|
11181
|
-
const
|
|
11182
|
-
const x = rtl ?
|
|
11181
|
+
const tickX = taskXCoordinate(dataDate, startDate, viewMode, columnWidth);
|
|
11182
|
+
const x = rtl ? tickX + columnWidth : tickX;
|
|
11183
11183
|
const color = dataDateColor || "var(--gantt-calendar-today-color)";
|
|
11184
11184
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
11185
11185
|
/* @__PURE__ */ jsx(
|
|
@@ -11143,8 +11143,8 @@
|
|
|
11143
11143
|
return null;
|
|
11144
11144
|
}
|
|
11145
11145
|
const today = /* @__PURE__ */ new Date();
|
|
11146
|
-
const
|
|
11147
|
-
const x = rtl ?
|
|
11146
|
+
const tickX = taskXCoordinate(today, startDate, viewMode, columnWidth);
|
|
11147
|
+
const x = rtl ? tickX + columnWidth : tickX;
|
|
11148
11148
|
const color = todayColor || "var(--gantt-calendar-today-color)";
|
|
11149
11149
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
11150
11150
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -11195,8 +11195,8 @@
|
|
|
11195
11195
|
if (!showDataDateLine || !dataDate) {
|
|
11196
11196
|
return null;
|
|
11197
11197
|
}
|
|
11198
|
-
const
|
|
11199
|
-
const x = rtl ?
|
|
11198
|
+
const tickX = taskXCoordinate(dataDate, startDate, viewMode, columnWidth);
|
|
11199
|
+
const x = rtl ? tickX + columnWidth : tickX;
|
|
11200
11200
|
const color = dataDateColor || "var(--gantt-calendar-today-color)";
|
|
11201
11201
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
11202
11202
|
/* @__PURE__ */ jsxRuntime.jsx(
|
package/package.json
CHANGED