Skip to content

Commit

Permalink
Fixed background x-position clamped to -2
Browse files Browse the repository at this point in the history
  • Loading branch information
dalboris committed Feb 11, 2016
1 parent 00f0756 commit 735b11b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/Gui/Background/Background.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -381,9 +381,6 @@ void Background::setPosition(const Eigen::Vector2d & newPosition)
if (data_.position != newPosition)
{
data_.position = newPosition;
if (data_.position[0] < -2.0) {
data_.position[0] = -2.0;
}
emit positionChanged(data_.position);
emit changed();
}
Expand Down

0 comments on commit 735b11b

Please sign in to comment.