mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 13:59:19 +02:00
Merge pull request #122 from dos1/picking
drivermode: Allow to (un)set picking mode by combining Alt with Shift/Ctrl
This commit is contained in:
@@ -496,7 +496,7 @@ void driver_mode::on_key(int const Key, int const Scancode, int const Action, in
|
|||||||
if (Action == GLFW_PRESS)
|
if (Action == GLFW_PRESS)
|
||||||
{
|
{
|
||||||
// toggle picking mode
|
// toggle picking mode
|
||||||
set_picking(!Global.ControlPicking);
|
set_picking(Global.shiftState ? true : (Global.ctrlState ? false : !Global.ControlPicking));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user