react-native-resource-calendar 1.0.13 → 1.0.14
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 +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1090,7 +1090,7 @@ var DraggableEvent = ({
|
|
|
1090
1090
|
const dynamicStyle = useAnimatedStyle(() => {
|
|
1091
1091
|
return {
|
|
1092
1092
|
height: eventHeight.value < hourHeight / 4 ? eventHeight.value : eventHeight.value - 4,
|
|
1093
|
-
width: APPOINTMENT_BLOCK_WIDTH,
|
|
1093
|
+
width: APPOINTMENT_BLOCK_WIDTH - 3,
|
|
1094
1094
|
borderWidth: 1,
|
|
1095
1095
|
borderColor: "rgba(0,0,0,0.12)"
|
|
1096
1096
|
};
|
|
@@ -1116,7 +1116,7 @@ var DraggableEvent = ({
|
|
|
1116
1116
|
translateY: panYAbs.value - eventHeight.value / 2 + 2
|
|
1117
1117
|
},
|
|
1118
1118
|
{
|
|
1119
|
-
translateX: panXAbs.value - APPOINTMENT_BLOCK_WIDTH / 2
|
|
1119
|
+
translateX: panXAbs.value - APPOINTMENT_BLOCK_WIDTH / 2 + 1
|
|
1120
1120
|
}
|
|
1121
1121
|
]
|
|
1122
1122
|
};
|