Skip to content

Fix ParticlesView attribute bug (speed_min reads speed_max) #3

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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