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

automatically setting granularity = 1.0, when style is RADIO;

This commit is contained in:
lgtst 2022-06-28 21:32:22 +03:00
parent fa731254bc
commit b5a78782c0

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)
{