Skip to content

[BUG]The component color cannot be displayed correctly when blink stops. #1260

@wyplzx

Description

@wyplzx

Describe the bug
There are two fields, VALUE and ERR.
The field of VALUE controls the display color of components (such as rectangles), and the field of ERR controls the blink action of the components.
When its VALUE=0, set the color of the component to green. When its VALUE=1, set the color of the component to red.
When its ERR=1, set the component to blink, the blink color is between yellow and blue.

To Reproduce
Steps to reproduce the behavior:

  1. set VALUE=0 and ERR=0. the color of the component is green, and the component does not blink.
    01-01

  2. set VALUE=0 and ERR=1. the component blinks.
    02-01
    02-03

  3. set VALUE=1 and ERR=0. the component stops blink, but the color of the component is green, not red.
    03-01

  4. See error

Expected behavior
at step of No.3.
when set VALUE=1 and ERR=0. the component stops blink, the color of the component should be red.

Screenshots
If applicable, add screenshots to help explain your problem.

Environment

  • FUXA version: 1.1.19 (installed in docker) (frangoteam/fuxa:latest)
  • Node.js version:
  • npm version:
  • Platform/OS: centos
  • Browser: chrome

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingfixed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions