1
0
mirror of https://github.com/psychopy/psychojs.git synced 2025-05-10 10:40:54 +00:00

Merge pull request #515 from lightest/CU-2htajmd_RADIO_slider_movement_bug

Automatically setting granularity = 1.0, when style is RADIO
This commit is contained in:
Alain Pitiot 2022-07-20 08:52:40 +02:00 committed by GitHub
commit c5d7742f36
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1368,6 +1368,7 @@ export class Slider extends util.mix(VisualStim).with(ColorMixin, WindowMixin)
{
this._barLineWidth_px = 0;
this._tickType = Slider.Shape.DISC;
this.granularity = 1.0;
if (!this._skin.MARKER_SIZE)
{