mirror of
https://github.com/simstudioai/sim.git
synced 2026-01-10 15:38:00 -05:00
Breakpoint color
This commit is contained in:
@@ -1477,7 +1477,7 @@ export function DebugPanel() {
|
||||
className={cn(
|
||||
'h-4 w-4',
|
||||
breakpointId === focusedBlockId
|
||||
? 'fill-red-600/20 text-red-600'
|
||||
? 'fill-orange-600/20 text-orange-600'
|
||||
: 'text-muted-foreground/50'
|
||||
)}
|
||||
/>
|
||||
|
||||
@@ -693,7 +693,7 @@ export function WorkflowBlock({ id, data }: NodeProps<WorkflowBlockProps>) {
|
||||
|
||||
{/* Show breakpoint indicator */}
|
||||
{isDebugModeEnabled && breakpointId === id && (
|
||||
<div className='-bottom-6 -translate-x-1/2 absolute left-1/2 z-10 transform rounded-b-md bg-red-500 px-2 py-0.5 text-white text-xs'>
|
||||
<div className='-bottom-6 -translate-x-1/2 absolute left-1/2 z-10 transform rounded-b-md bg-orange-500 px-2 py-0.5 text-white text-xs'>
|
||||
Breakpoint
|
||||
</div>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user