Commit 2f87664e authored by Ivica Bukvic's avatar Ivica Bukvic
Browse files

*refined toggling of edit mode when using ctrl+e shortcut where pressing it...

*refined toggling of edit mode when using ctrl+e shortcut where pressing it without releasing ctrl technically leaves user in the perform mode until ctrl is released.
parent 6ee33060
......@@ -7344,8 +7344,11 @@ void canvas_editmode(t_canvas *x, t_floatarg fyesplease)
canvas_setcursor(x, CURSOR_RUNMODE_NOTHING);
}
if (glist_isvisible(x))
{
int edit = !glob_ctrl && x->gl_edit;
sys_vgui("pdtk_canvas_editval .x%lx %d\n",
glist_getcanvas(x), x->gl_edit);
glist_getcanvas(x), edit);
}
/*if (!x->gl_edit) {
sys_vgui(".x%lx.m.edit entryconfigure \"Cord Inspector\" "
"-indicatoron false -state disabled\n", glist_getcanvas(x));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment