1
0
mirror of https://github.com/psychopy/psychojs.git synced 2025-05-12 08:38:10 +00:00
Commit Graph

714 Commits

Author SHA1 Message Date
Sotiri Bakagiannis
3d708d5863 visual/VisualStim: mark opacity as needing pixi updates 2020-10-06 22:53:51 +01:00
Sotiri Bakagiannis
72e9fe5b0b visual/ShapeStim: drop adding opacity attribute in constructor
Not required, because opacity is one of the attributes passed on
to the parent class via super()
2020-10-06 22:52:58 +01:00
Sotiri Bakagiannis
54c50a27f4 util/Util: fix selectFromArray() to respect selection order 2020-10-06 10:01:32 +01:00
Sotiri Bakagiannis
717aa3ca4f core/GUI: make sure _setRequiredKeys exists before accessing its size 2020-09-29 20:50:54 +01:00
Sotiri Bakagiannis
e2ff2098e6 css: hide #root::after when PsychoJS initialised 2020-09-29 14:23:28 +01:00
Sotiri Bakagiannis
846b1dca1b core/PsychoJS: give root element an is-ready class on init 2020-09-29 14:22:21 +01:00
Paul Novak
a1f4703dd4 Return selection as an array of arrays 2020-09-23 15:18:55 -07:00
Sotiri Bakagiannis
1b9f14552d visual/MovieStim: fix for PIXI.Texture.fromVideo() deprecated 2020-09-18 16:20:30 +01:00
Sotiri Bakagiannis
050875aa34 visual/MovieStim: drop video cloning, tweak onended event handling 2020-09-18 16:05:10 +01:00
Sotiri Bakagiannis
39196b9119 core/Window: tweak renderer width, height options passing for pixi latest 2020-09-18 16:04:32 +01:00
Sotiri Bakagiannis
1b1dabffb8 core/PsychoJS: make an empty object literal the default expInfo value on start() 2020-09-18 16:00:00 +01:00
Sotiri Bakagiannis
3220e5b1b5 visual/MovieStim: deal with promise based video play 2020-09-18 13:21:18 +01:00
Sotiri Bakagiannis
54166f0cd2 visual/ImageStim: tweak _estimateBoundingBox() to use size over this._size 2020-09-18 12:06:52 +01:00
Alain Pitiot
da2d9c5ad7
Merge pull request #166 from thewhodidthis/bf#165--data
data/util: Have util export turnSquareBracketsIntoArrays, fix when called inside of importConditions
2020-09-17 14:04:59 +02:00
Sotiri Bakagiannis
d069665571 data/TrialHandler: clean up comment 2020-09-08 16:23:57 +01:00
Sotiri Bakagiannis
b65c9b8489 data/TrialHandler: clear up comment 2020-09-07 22:41:48 +01:00
Sotiri Bakagiannis
03e7e48d6e data/TrialHandler: reorder parsing of cell value, clean up 2020-09-07 22:37:02 +01:00
Sotiri Bakagiannis
968070436a data/TrialHandler: fix attempted destructuring on non arrays
When calling `Util.turnSquareBracketsIntoArrays()`, forget
about destructuring ahead of checking whether the result
is an array, just take the first element if it is.
2020-09-07 18:20:02 +01:00
Sotiri Bakagiannis
6523a4a404 util/Util: do export turnSquareBracketsIntoArrays 2020-09-07 18:18:39 +01:00
Sotiri Bakagiannis
dc1b0f10ac util/PsychObject: clean up 2020-09-07 14:11:07 +01:00
Sotiri Bakagiannis
cb4b9e7f5b util/PsychObject: retun false if prev value undefined, clean up comments 2020-09-07 14:10:10 +01:00
Alain Pitiot
e48d485ad2
Merge pull request #163 from thewhodidthis/nf#118--gui
core/GUI: give the OK button focus if enabled
2020-09-04 22:47:28 +02:00
Alain Pitiot
567b3e0338
Merge pull request #162 from thewhodidthis/bf#155--sound
sound/TonePlayer: fix triggerRelease
2020-09-04 22:42:53 +02:00
Alain Pitiot
fc1f0efda5
Merge pull request #158 from thewhodidthis/bf#157--movie
Tweak MovieStim._estimateBoundingBox() to use a _getDisplaySize based variable instead of _size
2020-09-04 22:41:56 +02:00
Sotiri Bakagiannis
67c606d4b2 visual/TextBox: add methods for accessing and resetting the underlying input value 2020-09-04 12:03:57 +01:00
Sotiri Bakagiannis
a0de6a5921 core/GUI: give the OK button focus if enabled 2020-09-04 10:05:59 +01:00
Sotiri Bakagiannis
b74451ed77 sound/TonePlayer: give triggerRelease the note value that it needs when stopping 2020-09-04 09:56:45 +01:00
Sotiri Bakagiannis
ac522f1660 visual/MovieStim: Tweak _estimateBoundingBox() to use size instead of this._size 2020-09-01 14:30:56 +01:00
Sotiri Bakagiannis
6342d2260f sound/Sound: fix passing of 'log' option to setAttribute 2020-08-31 12:00:14 +01:00
Alain Pitiot
8a9b59b1c8
Merge pull request #156 from thewhodidthis/bf#131--sound
sound/TrackPlayer: add setDuration()
2020-08-30 11:04:21 +02:00
Alain Pitiot
3265b39e2d
Merge pull request #152 from thewhodidthis/bf#142--movie
visual/MovieStim: tweak options when destroying pixi sprite
2020-08-30 10:56:49 +02:00
Alain Pitiot
a92b01ca18
Merge pull request #151 from thewhodidthis/bf#150--interpolate
visual/MovieStim: add interpolate when destructuring options on init
2020-08-30 10:48:06 +02:00
Alain Pitiot
48edbc5d34
Merge pull request #141 from thewhodidthis/bf#140--movie
visual/MovieStim: DOM clone video baseTexture during setMovie call
2020-08-30 10:33:47 +02:00
Alain Pitiot
13ef385b57
Merge pull request #109 from thewhodidthis/bf#73--arrays
util/Util: add turnSquareBracketsIntoArrays helper, tweak TrialHandler.importConditions
2020-08-30 10:32:09 +02:00
Alain Pitiot
80d55d43b2
Merge branch 'master' into bf#73--arrays 2020-08-30 10:31:58 +02:00
Alain Pitiot
a758619bc4
Merge pull request #149 from thewhodidthis/bf#148--colormixin
util/ColorMixin: force a PIXI update when setting color or contrast
2020-08-30 10:27:49 +02:00
Sotiri Bakagiannis
caecac487b sound/TrackPlayer: tweak comment 2020-08-28 22:41:52 +01:00
Sotiri Bakagiannis
24cf07b207 sound/TrackPlayer: add a setDuration method for adjusting Howler's default sprite 2020-08-26 13:43:25 +01:00
Sotiri Bakagiannis
932572a0f7 sound/TonePlayer: fix JSDoc typo 2020-08-26 13:37:04 +01:00
Sotiri Bakagiannis
6b2e772c89 sound/Sound: fix JSDoc typos 2020-08-26 13:36:43 +01:00
Sotiri Bakagiannis
483a8e34be sound/Sound: add a method for replacing the current value past initialisation 2020-08-24 10:21:32 +01:00
Sotiri Bakagiannis
0e38278e01 visual/MovieStim: tweak options when destroying pixi sprite
Destroy main texture and children, but leave baseTexture untouched.
2020-08-21 10:24:38 +01:00
Sotiri Bakagiannis
8f926c8cf1 visual/MovieStim: add interpolate when destructuring options on init 2020-08-21 09:58:14 +01:00
Sotiri Bakagiannis
e723b2ac75 util/ColorMixin: force a PIXI update when setting color or contrast
Have `ColorMixin` reflect that for visual components like `TextStim`
updating 'color' and 'contrast' attributes needs PIXI.
2020-08-20 17:06:57 +01:00
Alain Pitiot
fde29e1e59 Merge branch 'master' of github.com:psychopy/psychojs 2020-08-20 13:48:28 +02:00
Alain Pitiot
2e9ffae22f change log 2020-08-20 13:48:15 +02:00
Alain Pitiot
e15c05af31 updated copyright date 2020-08-20 13:42:36 +02:00
Alain Pitiot
a3cbc636f8
Merge pull request #147 from psychopy/2020.2
updated README
2020-08-20 13:34:34 +02:00
Alain Pitiot
4c0ee079e9 updated README 2020-08-20 13:23:28 +02:00
Alain Pitiot
c0512f1205 updated to README 2020-08-20 13:21:39 +02:00