@mingxy/opencode-mascot 0.3.3 → 0.3.5
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/package.json
CHANGED
|
@@ -69,9 +69,6 @@ export function HomeMascot(props: HomeMascotProps): JSX.Element {
|
|
|
69
69
|
dragAnchorY = boxRef.translateY || 0;
|
|
70
70
|
isDragging = true;
|
|
71
71
|
renderers[currentName()].setDragging(true);
|
|
72
|
-
e.preventDefault();
|
|
73
|
-
e.stopPropagation();
|
|
74
|
-
props.api.renderer.clearSelection();
|
|
75
72
|
}
|
|
76
73
|
}}
|
|
77
74
|
onMouseDrag={(e: any) => {
|
|
@@ -318,7 +318,7 @@ export function createAnimatedRenderer(pack: MascotPack): {
|
|
|
318
318
|
<box flexDirection="column" left={left} top={top}>
|
|
319
319
|
{cel ? <text fg={flashColor() ?? fg}>{cel.text}</text> : null}
|
|
320
320
|
{dm ? <text fg="#FF4081">{dm}</text> : null}
|
|
321
|
-
<box flexDirection="column">
|
|
321
|
+
<box flexDirection="column" alignItems="flex-start">
|
|
322
322
|
{lines.map((line: string) => (
|
|
323
323
|
<text fg={flashColor() ?? fg}>{line}</text>
|
|
324
324
|
))}
|