commit f340d637569353a54d27a3a0de854f24eebd3e19 parent 4b4bbcd9e83d97e607a0dfd8d3625b6fa4162129 Author: Robin Gareus <robin@gareus.org> Date: Fri, 5 Jan 2018 01:54:47 +0100 Fix zyn-fusion plugin-UI exposure Diffstat:
M | src/Plugin/ZynAddSubFX/ZynAddSubFX-UI-Zest.cpp | | | 8 | +++++--- |
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/src/Plugin/ZynAddSubFX/ZynAddSubFX-UI-Zest.cpp b/src/Plugin/ZynAddSubFX/ZynAddSubFX-UI-Zest.cpp @@ -208,7 +208,6 @@ if(!oscPort) } z.zest_draw(z.zest); - repaint(); } bool onKeyboard(const KeyboardEvent &ev) @@ -223,8 +222,11 @@ if(!oscPort) void uiIdle(void) override { - if(z.zest) - z.zest_tick(z.zest); + if(z.zest) { + if (z.zest_tick(z.zest)) { + repaint(); + } + } } void uiReshape(uint width, uint height)