Skip to content

Commit

Permalink
Change order in HeapView help popup to prevent confusion
Browse files Browse the repository at this point in the history
  • Loading branch information
MrTipson committed Jul 7, 2024
1 parent 4777647 commit f7e4ed8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/HeapView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -151,10 +151,6 @@ export default function HeapView({ className, machine, settings }: {
<p>If garbage collection is enabled, objects with no references are deleted.</p><br />
<p>Some objects may be additionally marked, such as:</p>
<ul className='list-disc list-inside'>
<li className='my-1'>
newly allocated object:
<span className={"relative inline-block px-3 rounded" + heapNodeVariants["allocated"] + " after:text-xs after:-bottom-0.5"}>TEST</span>
</li>
<li className='my-1'>
to-be updated object:
<span className={"relative inline-block mx-2 px-1 rounded" + heapNodeVariants["updating"]}>TEST</span>
Expand All @@ -163,6 +159,10 @@ export default function HeapView({ className, machine, settings }: {
updated object:
<span className={"relative inline-block mx-2 px-1 rounded" + heapNodeVariants["updated"]}>TEST</span>
</li>
<li className='my-1'>
newly allocated object:
<span className={"relative inline-block px-3 rounded" + heapNodeVariants["allocated"] + " after:text-xs after:-bottom-0.5"}>TEST</span>
</li>
</ul>
</HelpPopover>
</div>
Expand Down

0 comments on commit f7e4ed8

Please sign in to comment.