aboutsummaryrefslogtreecommitdiff
path: root/atom_inspector_nk.c
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2020-04-09 20:30:11 +0200
committerHanspeter Portner <dev@open-music-kontrollers.ch>2020-04-09 20:30:11 +0200
commit98079254fea16357f3a7c22d07f07ea55edd4c26 (patch)
tree911e50140b55024cfc4fe948ae86a8d6b5b851a2 /atom_inspector_nk.c
parentdfa52f063109020d1d6c10a3345699337442ec8a (diff)
downloadsherlock.lv2-98079254fea16357f3a7c22d07f07ea55edd4c26.tar.xz
nk: make turtle editor r/w to enable scrollbar.
Diffstat (limited to 'atom_inspector_nk.c')
-rw-r--r--atom_inspector_nk.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/atom_inspector_nk.c b/atom_inspector_nk.c
index 871b70c..17daea8 100644
--- a/atom_inspector_nk.c
+++ b/atom_inspector_nk.c
@@ -453,8 +453,7 @@ _atom_inspector_expose(struct nk_context *ctx, struct nk_rect wbounds, void *dat
handle->ttl_dirty = false;
}
- const nk_flags flags = NK_EDIT_EDITOR
- | NK_EDIT_READ_ONLY;
+ const nk_flags flags = NK_EDIT_BOX;
int len = nk_str_len(&handle->editor.string);
if(len > 0) //FIXME