Skip to content

Commit

Permalink
Work on Zoomer
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkwhoffmann committed May 2, 2023
1 parent ca23ffc commit d8180d0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/dflight/Zoomer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ void
Zoomer::updateTexture(isize nr)
{
auto path = opt.files.input.parent_path() / opt.files.input.stem();
string name = path.string() + "_" + std::to_string(nr + 1) + ".png";
string name = path.string() + "_" + std::to_string(nr) + ".png";

sf::Texture image;

Expand Down Expand Up @@ -244,8 +244,6 @@ Zoomer::updateLocation(isize nr, isize &dx, isize &dy)
dx = isize(std::round(centerDelta.re.get_d()));
dy = isize(std::round(centerDelta.im.get_d()));

// printf("dx: %ld dy: %ld\n", dx, dy);

} else {

dx = 0;
Expand Down

0 comments on commit d8180d0

Please sign in to comment.