@mingxy/opencode-mascot 0.3.8 → 0.3.9
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
|
@@ -315,10 +315,10 @@ export function createAnimatedRenderer(pack: MascotPack): {
|
|
|
315
315
|
const dm = dragMsg();
|
|
316
316
|
|
|
317
317
|
return (
|
|
318
|
-
<box flexDirection="column" left={left} top={top}>
|
|
319
|
-
{cel ? <text fg={flashColor() ?? fg}>{cel.text}</text> : null}
|
|
320
|
-
{dm ? <text fg="#FF4081">{dm}</text> : null}
|
|
321
|
-
<box flexDirection="column" alignItems="flex-start">
|
|
318
|
+
<box flexDirection="column" width={10} overflow="visible" left={left} top={top}>
|
|
319
|
+
{cel ? <text fg={flashColor() ?? fg} selectable={false}>{cel.text}</text> : null}
|
|
320
|
+
{dm ? <text fg="#FF4081" selectable={false}>{dm}</text> : null}
|
|
321
|
+
<box flexDirection="column" width={10} alignItems="flex-start">
|
|
322
322
|
{lines.map((line: string) => (
|
|
323
323
|
<text fg={flashColor() ?? fg} selectable={false}>{line}</text>
|
|
324
324
|
))}
|