This commit is contained in:
@@ -516,7 +516,7 @@ const renderMarkdown = (text: string, onImageClick: (url: string) => void) => {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
const ulMatch = trimmed.match(/^[-*]\s*(.*)/);
|
const ulMatch = trimmed.match(/^[-*]\s+(.*)/);
|
||||||
if (ulMatch) {
|
if (ulMatch) {
|
||||||
isOrderedList = false;
|
isOrderedList = false;
|
||||||
listItems.push(<li key={idx} className="leading-relaxed pl-1">{parseInline(ulMatch[1])}</li>);
|
listItems.push(<li key={idx} className="leading-relaxed pl-1">{parseInline(ulMatch[1])}</li>);
|
||||||
|
|||||||
@@ -157,7 +157,7 @@ const renderMarkdown = (text: string) => {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
const ulMatch = trimmed.match(/^[-*]\s*(.*)/);
|
const ulMatch = trimmed.match(/^[-*]\s+(.*)/);
|
||||||
if (ulMatch) {
|
if (ulMatch) {
|
||||||
isOrderedList = false;
|
isOrderedList = false;
|
||||||
listItems.push(<li key={idx} className="leading-relaxed pl-2">{parseInline(ulMatch[1])}</li>);
|
listItems.push(<li key={idx} className="leading-relaxed pl-2">{parseInline(ulMatch[1])}</li>);
|
||||||
|
|||||||
@@ -192,7 +192,7 @@ function MapNode({ marker, isSelected, hqPos, onSelect, isDark, globeMode, camDi
|
|||||||
// Arc height scales with the angle: short arcs stay close to surface,
|
// Arc height scales with the angle: short arcs stay close to surface,
|
||||||
// long arcs (near antipodes) lift high above the globe.
|
// long arcs (near antipodes) lift high above the globe.
|
||||||
// angle ranges from 0 to π. Height factor scales from 0.15 to ~1.4 of RADIUS.
|
// angle ranges from 0 to π. Height factor scales from 0.15 to ~1.4 of RADIUS.
|
||||||
const heightFactor = 0.15 + (angle / Math.PI) * 1.25;
|
const heightFactor = 0.2 + (angle / Math.PI) * 1.6;
|
||||||
const apex = apexDir.multiplyScalar(RADIUS * (1 + heightFactor));
|
const apex = apexDir.multiplyScalar(RADIUS * (1 + heightFactor));
|
||||||
|
|
||||||
// ── ARC LINE COLORS & OPACITY ──
|
// ── ARC LINE COLORS & OPACITY ──
|
||||||
|
|||||||
@@ -60,7 +60,7 @@ const renderMarkdown = (text: string) => {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
const ulMatch = trimmed.match(/^[-*]\s*(.*)/);
|
const ulMatch = trimmed.match(/^[-*]\s+(.*)/);
|
||||||
if (ulMatch) { isOrderedList = false; listItems.push(<li key={idx} className="leading-relaxed pl-1">{parseInline(ulMatch[1])}</li>); return; }
|
if (ulMatch) { isOrderedList = false; listItems.push(<li key={idx} className="leading-relaxed pl-1">{parseInline(ulMatch[1])}</li>); return; }
|
||||||
|
|
||||||
const olMatch = trimmed.match(/^\d+\.\s*(.*)/);
|
const olMatch = trimmed.match(/^\d+\.\s*(.*)/);
|
||||||
|
|||||||
@@ -153,7 +153,7 @@ const renderMarkdown = (text: string) => {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
const ulMatch = trimmed.match(/^[-*]\s*(.*)/);
|
const ulMatch = trimmed.match(/^[-*]\s+(.*)/);
|
||||||
if (ulMatch) { isOrderedList = false; listItems.push(<li key={idx} className="leading-relaxed pl-2">{parseInline(ulMatch[1])}</li>); return; }
|
if (ulMatch) { isOrderedList = false; listItems.push(<li key={idx} className="leading-relaxed pl-2">{parseInline(ulMatch[1])}</li>); return; }
|
||||||
|
|
||||||
const olMatch = trimmed.match(/^\d+\.\s*(.*)/);
|
const olMatch = trimmed.match(/^\d+\.\s*(.*)/);
|
||||||
|
|||||||
Reference in New Issue
Block a user