Fixed unscale point->pixel rescale function.

This commit is contained in:
Joseph Lenox 2018-04-30 22:16:50 -05:00
parent 77ae0df2ad
commit 456212918f

View File

@ -73,7 +73,7 @@ private:
const auto& canvas_height {this->GetSize().GetHeight()};
const auto& zero = this->bed_origin;
return wxPoint(in.x * this->scaling_factor + zero.x,
in.x * this->scaling_factor + (zero.y - canvas_height));
in.y * this->scaling_factor + (zero.y - canvas_height));
}
/// Read print bed size from config.