Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BF: slider.startValue should not be setting the slider.rating during reset #4738

Merged
merged 2 commits into from
Mar 31, 2022

Conversation

peircej
Copy link
Member

@peircej peircej commented Mar 30, 2022

Only the markerPos should be controlled by the startValue, not the
rating. If a Rating exists it implies a response has been made which it
hasn't, at the time of resetting

…reset

Only the markerPos should be controlled by the startValue, not the
rating. If a Rating exists it implies a response has been made which it
hasn't, at the time of resetting
In commit e2442db we turned off resetting the rating to startValue but
didn't set it to be reset to None, which is also important!
@codecov
Copy link

codecov bot commented Mar 30, 2022

Codecov Report

Merging #4738 (f1cb50a) into release (8cf3dff) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##           release    #4738      +/-   ##
===========================================
- Coverage    45.34%   45.33%   -0.01%     
===========================================
  Files          294      294              
  Lines        58843    58844       +1     
  Branches     10393    10393              
===========================================
- Hits         26681    26677       -4     
- Misses       29778    29781       +3     
- Partials      2384     2386       +2     
Impacted Files Coverage Δ
psychopy/visual/slider.py 79.60% <100.00%> (+0.03%) ⬆️
psychopy/visual/textbox2/textbox2.py 78.63% <0.00%> (-0.25%) ⬇️
psychopy/visual/window.py 62.07% <0.00%> (-0.23%) ⬇️

📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

@peircej peircej merged commit 4b7814b into psychopy:release Mar 31, 2022
@peircej peircej deleted the bf-reset-startval-slider branch June 14, 2022 08:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant