mirror of
https://github.com/psychopy/psychojs.git
synced 2025-05-11 16:18:10 +00:00
visual/Slider: clean up JSDoc for font, use Arial by default
This commit is contained in:
parent
4cc9630610
commit
864eab588a
@ -44,7 +44,7 @@ import {PsychoJS} from "../core/PsychoJS";
|
||||
* and labels with respect to the central bar
|
||||
* @param {boolean} [options.readOnly= false] - whether or not the slider is read only
|
||||
*
|
||||
* @param {string} [options.fontFamily= 'Helvetica'] - the text font
|
||||
* @param {string} [options.font= 'Arial'] - the text font
|
||||
* @param {boolean} [options.bold= true] - whether or not the font of the labels is bold
|
||||
* @param {boolean} [options.italic= false] - whether or not the font of the labels is italic
|
||||
* @param {number} [options.fontSize] - the font size of the labels (in pixels), the default fontSize depends on the
|
||||
@ -130,7 +130,7 @@ export class Slider extends util.mix(VisualStim).with(ColorMixin, WindowMixin)
|
||||
this._addAttribute(
|
||||
'font',
|
||||
font,
|
||||
'Helvetica',
|
||||
'Arial',
|
||||
this._onChange(true, true)
|
||||
);
|
||||
this._addAttribute(
|
||||
|
Loading…
Reference in New Issue
Block a user