@rpg-engine/long-bow 0.7.31 → 0.7.32
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/long-bow.cjs.development.js +7 -3
- package/dist/long-bow.cjs.development.js.map +1 -1
- package/dist/long-bow.cjs.production.min.js +1 -1
- package/dist/long-bow.cjs.production.min.js.map +1 -1
- package/dist/long-bow.esm.js +7 -3
- package/dist/long-bow.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/TimeWidget/TimeWidget.tsx +8 -3
package/package.json
CHANGED
|
@@ -21,10 +21,15 @@ export const TimeWidget: React.FC<IClockWidgetProps> = ({
|
|
|
21
21
|
scale,
|
|
22
22
|
}) => {
|
|
23
23
|
return (
|
|
24
|
-
<Draggable
|
|
24
|
+
<Draggable
|
|
25
|
+
scale={scale}
|
|
26
|
+
cancel=".time-widget-close,.time-widget-container,.time-widget-container *"
|
|
27
|
+
>
|
|
25
28
|
<WidgetContainer>
|
|
26
|
-
<CloseButton onPointerDown={onClose}>
|
|
27
|
-
|
|
29
|
+
<CloseButton onPointerDown={onClose} className="time-widget-close">
|
|
30
|
+
X
|
|
31
|
+
</CloseButton>
|
|
32
|
+
<DayNightContainer className="time-widget-container">
|
|
28
33
|
<DayNightPeriod periodOfDay={periodOfDay} />
|
|
29
34
|
</DayNightContainer>
|
|
30
35
|
<Time>{TimeClock}</Time>
|