M README.md => README.md +1 -1
@@ 73,7 73,7 @@ out of the __patchmatrix__ top folder of the downloaded package into your
* Wheel: _change gain coarse_
* Left button + Shift + move: _change gain fine_
* Wheel + Shift: _change gain fine_
-* Right button: _remove_
+* Right button + Ctrl: _remove_
##### Monitor
M VERSION => VERSION +1 -1
@@ 1,1 1,1 @@
-0.25.17
+0.25.19
M patchmatrix_nk.c => patchmatrix_nk.c +4 -2
@@ 112,7 112,8 @@ _client_moveable(struct nk_context *ctx, app_t *app, client_t *client,
}
if (is_hovering
- && nk_input_is_mouse_pressed(in, NK_BUTTON_RIGHT) )
+ && nk_input_is_mouse_pressed(in, NK_BUTTON_RIGHT)
+ && nk_input_is_key_down(in, NK_KEY_CTRL) )
{
// consume mouse event
in->mouse.buttons[NK_BUTTON_RIGHT].down = nk_false;
@@ 867,7 868,8 @@ node_editor_client_conn(struct nk_context *ctx, app_t *app,
client_conn->moving = true;
}
else if(is_hovering
- && nk_input_is_mouse_pressed(in, NK_BUTTON_RIGHT) )
+ && nk_input_is_mouse_pressed(in, NK_BUTTON_RIGHT)
+ && nk_input_is_key_down(in, NK_KEY_CTRL) )
{
// consume mouse event
in->mouse.buttons[NK_BUTTON_RIGHT].down = nk_false;