Skip to content

Fix ParticlesView attribute bug (speed_min reads speed_max) #3

@OneXeor

Description

@OneXeor

Description

In ParticlesView.java line 98, the attribute pv_nodes_speed_min incorrectly reads from pv_nodes_speed_max.

Current Code

nodesSpeedMin = a.getFloat(R.styleable.ParticlesView_pv_nodes_speed_max, 1F);

Fix

nodesSpeedMin = a.getFloat(R.styleable.ParticlesView_pv_nodes_speed_min, 1F);

Impact

  • Critical functionality issue
  • Min speed always equals max speed value

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingphase-1Critical fixes

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions