mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-01 05:32:03 +08:00
Keep color of object during drag over surface.
This commit is contained in:
parent
201e9d493f
commit
d24472675c
@ -80,6 +80,7 @@ bool on_mouse_surface_drag(const wxMouseEvent &mouse_event,
|
||||
|
||||
// allow moving with object again
|
||||
canvas.enable_moving(true);
|
||||
canvas.enable_picking(true);
|
||||
surface_drag.reset();
|
||||
|
||||
// only left up is correct
|
||||
@ -167,6 +168,7 @@ bool on_mouse_surface_drag(const wxMouseEvent &mouse_event,
|
||||
|
||||
// disable moving with object by mouse
|
||||
canvas.enable_moving(false);
|
||||
canvas.enable_picking(false);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user