Merge branch 'stable' into release-4.1.0

This commit is contained in:
Brandy Carney
2019-03-06 11:21:30 -05:00
committed by GitHub
2 changed files with 2 additions and 78 deletions

View File

@ -488,7 +488,8 @@ interface RangeKnob {
handleKeyboard: (name: KnobName, isIncrease: boolean) => void;
}
function renderKnob(isRTL: boolean, { knob, value, ratio, min, max, disabled, pressed, pin, handleKeyboard }: RangeKnob) {
function renderKnob({ knob, value, ratio, min, max, disabled, pressed, pin, handleKeyboard }: RangeKnob) {
const isRTL = document.dir === 'rtl';
const start = isRTL ? 'right' : 'left';
const knobStyle = () => {