react-native-resource-calendar 1.0.13 → 1.0.15
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.
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1116,7 +1116,7 @@ var DraggableEvent = ({
|
|
|
1116
1116
|
const dynamicStyle = Animated2.useAnimatedStyle(() => {
|
|
1117
1117
|
return {
|
|
1118
1118
|
height: eventHeight.value < hourHeight / 4 ? eventHeight.value : eventHeight.value - 4,
|
|
1119
|
-
width: APPOINTMENT_BLOCK_WIDTH,
|
|
1119
|
+
width: APPOINTMENT_BLOCK_WIDTH - 3,
|
|
1120
1120
|
borderWidth: 1,
|
|
1121
1121
|
borderColor: "rgba(0,0,0,0.12)"
|
|
1122
1122
|
};
|
|
@@ -1142,7 +1142,7 @@ var DraggableEvent = ({
|
|
|
1142
1142
|
translateY: panYAbs.value - eventHeight.value / 2 + 2
|
|
1143
1143
|
},
|
|
1144
1144
|
{
|
|
1145
|
-
translateX: panXAbs.value - APPOINTMENT_BLOCK_WIDTH / 2
|
|
1145
|
+
translateX: panXAbs.value - APPOINTMENT_BLOCK_WIDTH / 2 + 1
|
|
1146
1146
|
}
|
|
1147
1147
|
]
|
|
1148
1148
|
};
|
|
@@ -1815,7 +1815,7 @@ var CalendarInner = (props) => {
|
|
|
1815
1815
|
/* @__PURE__ */ React19__namespace.default.createElement(
|
|
1816
1816
|
ResourcesComponent,
|
|
1817
1817
|
{
|
|
1818
|
-
date
|
|
1818
|
+
date,
|
|
1819
1819
|
resourceIds,
|
|
1820
1820
|
APPOINTMENT_BLOCK_WIDTH,
|
|
1821
1821
|
onResourcePress
|