mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-10-11 14:22:54 +02:00
Keyboard capture by 3D view on Linux
This commit is contained in:
1 parent
ad54210c3e
commit
b67064ef81
1 file changed
+1
-1
@@ -389,7 +389,7 @@ sub mouse_event {
|
||||
|
||||
$self->_mouse_dragging($e->Dragging);
|
||||
|
||||
if ($e->Entering && &Wx::wxMSW) {
|
||||
if ($e->Entering && (&Wx::wxMSW || $^O eq 'linux')) {
|
||||
# wxMSW needs focus in order to catch mouse wheel events
|
||||
$self->SetFocus;
|
||||
$self->_drag_start_xy(undef);
|
||||
|
||||
Reference in new issue
Block a user