mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-07-30 06:01:58 +08:00
Fixed unscale point->pixel rescale function.
This commit is contained in:
parent
77ae0df2ad
commit
456212918f
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user