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

visual/Slider: drop unused labelHeight attribute

This commit is contained in:
Sotiri Bakagiannis 2021-01-22 20:35:36 +00:00
parent cf0f2191f1
commit 1cc16f9381

View File

@ -65,7 +65,7 @@ import {PsychoJS} from "../core/PsychoJS";
*/
export class Slider extends util.mix(VisualStim).with(ColorMixin, WindowMixin)
{
constructor({name, win, pos, size, ori, units, color, contrast, opacity, style, ticks, labels, labelHeight, granularity, flip, readOnly, font, bold, italic, fontSize, compact, clipMask, autoDraw, autoLog} = {})
constructor({name, win, pos, size, ori, units, color, contrast, opacity, style, ticks, labels, granularity, flip, readOnly, font, bold, italic, fontSize, compact, clipMask, autoDraw, autoLog} = {})
{
super({name, win, units, ori, opacity, pos, size, clipMask, autoDraw, autoLog});
@ -151,12 +151,6 @@ export class Slider extends util.mix(VisualStim).with(ColorMixin, WindowMixin)
false,
this._onChange(true, true)
);
this._addAttribute(
'labelHeight',
labelHeight,
undefined,
this._onChange(true, true)
);
this._addAttribute(
'flip',
flip,