From db6867fc6abc85a1a1cb2fa4aef96fc8b112b756 Mon Sep 17 00:00:00 2001 From: Ivica Ico Bukvic <ico@vt.edu> Date: Tue, 9 Sep 2014 11:18:50 -0400 Subject: [PATCH] *magicglass should turn off every time edit mode is disabled... *updated TODO --- pd/src/g_editor.c | 7 +++++++ pd/src/pd-l2ork-TODO.txt | 4 ++++ 2 files changed, 11 insertions(+) diff --git a/pd/src/g_editor.c b/pd/src/g_editor.c index 7949bf5af..d2c8a1690 100644 --- a/pd/src/g_editor.c +++ b/pd/src/g_editor.c @@ -4940,6 +4940,13 @@ void canvas_key(t_canvas *x, t_symbol *s, int ac, t_atom *av) canvas_setcursor(x, down ? CURSOR_RUNMODE_NOTHING : CURSOR_EDITMODE_NOTHING); sys_vgui("pdtk_canvas_editval .x%lx %d\n", (t_int)x, down ? 0 : 1); + if(x->gl_editor && x->gl_editor->gl_magic_glass) + { + if (down) + { + magicGlass_hide(x->gl_editor->gl_magic_glass); + } + } } } //fprintf(stderr," %d %d %d %s %d %d\n", diff --git a/pd/src/pd-l2ork-TODO.txt b/pd/src/pd-l2ork-TODO.txt index 64011fb95..259b2511f 100644 --- a/pd/src/pd-l2ork-TODO.txt +++ b/pd/src/pd-l2ork-TODO.txt @@ -1,4 +1,8 @@ C: +*messages should be aware of $0? +*g_mycanvas does not resize its select area when the mycanvas size is smaller than the select area +*consistency check failed: glist_findrtext when enabling gop and dragging it around? + *verbosity level for the console *Draw SECONDARY redrect on gop scalar patchers to reflect the viewport? -- GitLab