broology / poker-moons

Free online poker with friends without the hassle.
4 stars 3 forks source link

fix(frontend hud feature action-panel): issue where raise amount wouldn't reset after bidding cycle #217

Closed jordems closed 2 years ago

jordems commented 2 years ago

Proposed Changes

Issue where the user's raise amount would carry on from the previous bidding cycle. Turned out to be an issue where the slider library valueChange was being called after the bidding cycle setting the form value when it shouldn't of been. I've changed it to userChange which seems only changes the value when the user clicks it. This seems to fix the issue.

Linked Issue

resolves #212

Types of changes

Merge Checklist

Deployment Notes