Browse Source

Remove unused variable boxAspect from ScaleWidget

master
Krisjanis Rijnieks 8 years ago
parent
commit
cd95c14b80
  1. 2
      src/Gui/Widgets/ScaleWidget.cpp

2
src/Gui/Widgets/ScaleWidget.cpp

@ -130,8 +130,6 @@ void ScaleWidget::onMouseDragged(ofMouseEventArgs & args){
} }
ofRectangle box = _surfaceManager->getSelectedSurface()->getBoundingBox(); ofRectangle box = _surfaceManager->getSelectedSurface()->getBoundingBox();
float boxAspect = box.width / box.height;
ofPolyline newLine = _line; ofPolyline newLine = _line;
newLine[1].x = args.x; newLine[1].x = args.x;
newLine[1].y = args.y; newLine[1].y = args.y;

Loading…
Cancel
Save