From 1cc16f93811a634365216403db33387c4ee68481 Mon Sep 17 00:00:00 2001 From: Sotiri Bakagiannis Date: Fri, 22 Jan 2021 20:35:36 +0000 Subject: [PATCH] visual/Slider: drop unused labelHeight attribute --- js/visual/Slider.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/js/visual/Slider.js b/js/visual/Slider.js index 6e540e6..bc7e3fe 100644 --- a/js/visual/Slider.js +++ b/js/visual/Slider.js @@ -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,