Skip to content

BF: Parameters weren't being set on first frame in JS#7113

Merged
TEParsons merged 2 commits intopsychopy:devfrom
TEParsons:dev-bf-first-frame
Feb 18, 2025
Merged

BF: Parameters weren't being set on first frame in JS#7113
TEParsons merged 2 commits intopsychopy:devfrom
TEParsons:dev-bf-first-frame

Conversation

@TEParsons
Copy link
Copy Markdown
Contributor

Because they're set each frame that the stimulus is STARTED, they're not set on the first frame that it's drawn because the check for STARTED (and subsequent param setting) happens before STARTED is set that frame. This PR adds lines to set params when starting a Component as well as each frame it's active.

@codecov
Copy link
Copy Markdown

codecov bot commented Feb 17, 2025

Codecov Report

Attention: Patch coverage is 63.63636% with 4 lines in your changes missing coverage. Please review.

Project coverage is 49.90%. Comparing base (08d4f36) to head (0611854).
Report is 15 commits behind head on dev.

Additional details and impacted files
@@            Coverage Diff             @@
##              dev    #7113      +/-   ##
==========================================
+ Coverage   49.89%   49.90%   +0.01%     
==========================================
  Files         346      346              
  Lines       64012    64008       -4     
==========================================
+ Hits        31936    31942       +6     
+ Misses      32076    32066      -10     
Components Coverage Δ
app ∅ <ø> (∅)
boilerplate ∅ <ø> (∅)
library ∅ <ø> (∅)
vm-safe library ∅ <ø> (∅)

@TEParsons TEParsons merged commit 535caa9 into psychopy:dev Feb 18, 2025
7 checks passed
@TEParsons TEParsons deleted the dev-bf-first-frame branch May 21, 2025 18:02
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