mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-01-26 19:09:52 +00:00
style: remove pulsing animation on executing Vue nodes (#6206)
## Summary Removes pulsing animation which wasn't part of the original design and has performance overhead. ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-6206-style-remove-pulsing-animation-on-executing-Vue-nodes-2946d73d3650816ab877da8120ab4085) by [Unito](https://www.unito.io)
This commit is contained in:
@@ -18,7 +18,6 @@
|
||||
borderClass,
|
||||
outlineClass,
|
||||
{
|
||||
'animate-pulse': executing,
|
||||
'before:rounded-2xl before:pointer-events-none before:absolute before:bg-bypass/60 before:inset-0':
|
||||
bypassed,
|
||||
'before:rounded-2xl before:pointer-events-none before:absolute before:inset-0':
|
||||
|
||||
@@ -197,11 +197,11 @@ describe('LGraphNode', () => {
|
||||
expect(wrapper.classes()).toContain('outline-node-component-outline')
|
||||
})
|
||||
|
||||
it('should apply executing animation when executing prop is true', () => {
|
||||
it('should render progress indicator when executing prop is true', () => {
|
||||
mockData.mockExecuting = true
|
||||
|
||||
const wrapper = mountLGraphNode({ nodeData: mockNodeData })
|
||||
|
||||
expect(wrapper.classes()).toContain('animate-pulse')
|
||||
expect(wrapper.classes()).toContain('border-node-stroke-executing')
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user