Skip to content

Commit

Permalink
Fix #1861. Fixed background switcher displacements with custom props (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
offtherailz authored May 22, 2017
1 parent 61cb516 commit a3ea7f1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions web/client/components/background/BackgroundSelector.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -113,12 +113,11 @@ const BackgroundSelector = React.createClass({
const buttonSizeWithMargin = side + frame + margin * 2;

const listContainerStyle = configuration.vertical ? {
bottom: this.props.bottom + buttonSizeWithMargin,
bottom: buttonSizeWithMargin,
left: this.props.left,
width: buttonSizeWithMargin,
height: listSize
} : {
bottom: this.props.bottom,
left: this.props.left + sideButton + margin * 2 + frame,
width: listSize,
height: buttonSize
Expand Down

0 comments on commit a3ea7f1

Please sign in to comment.