mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 01:07:57 -06:00
Smoother manual control movements
This commit is contained in:
parent
37ecc61d06
commit
9febb10bd7
4 changed files with 12 additions and 6 deletions
|
@ -58,6 +58,9 @@ sub new {
|
|||
$canvas->interactive(1);
|
||||
$canvas->on_move(sub {
|
||||
my ($pos) = @_;
|
||||
|
||||
# delete any pending commands to get a smoother movement
|
||||
$self->purge_queue(1);
|
||||
$self->abs_xy_move($pos);
|
||||
});
|
||||
$bed_sizer->Add($canvas, 0, wxEXPAND | wxRIGHT, 3);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue