mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-14 11:05:52 +08:00
2D Plater: Added double-click handler.
This commit is contained in:
parent
f8827b392d
commit
5938a5bf4c
@ -220,6 +220,9 @@ void Plate2D::mouse_up(wxMouseEvent& e) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
void Plate2D::mouse_dclick(wxMouseEvent& e) {
|
void Plate2D::mouse_dclick(wxMouseEvent& e) {
|
||||||
|
if (e.LeftDClick()) {
|
||||||
|
this->on_double_click();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void Plate2D::set_colors() {
|
void Plate2D::set_colors() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user