mirror of
https://github.com/psychopy/psychojs.git
synced 2025-05-11 16:18:10 +00:00
Merge pull request #264 from thewhodidthis/bf#69--slider
visual/Slider: drop unused labelHeight attribute
This commit is contained in:
commit
938832efcd
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user