aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvurtun <polygone@gmx.net>2016-11-19 19:42:30 +0100
committervurtun <polygone@gmx.net>2016-11-19 19:43:44 +0100
commitc490e80f014e563aade24fbaadfee0677685ba05 (patch)
tree59a1f3673c23336c5e1136c9360d9e8c2be35389
parente7c06e027a7b7ad931e49654a9247705ca1e6c35 (diff)
downloadsherlock.lv2-c490e80f014e563aade24fbaadfee0677685ba05.tar.xz
Fixed tooltip flickering #278
-rw-r--r--CHANGELOG.md1
-rw-r--r--nuklear.h4
2 files changed, 3 insertions, 2 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 96e486e..9c50719 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,4 +1,5 @@
# Changelog
+- 2016/11/10 (1.184)- Fixed tooltip flickering
- 2016/11/10 (1.183)- Fixed memory leak caused by popup repeated closing
- 2016/11/10 (1.182)- Fixed memory leak caused by popup panel allocation
- 2016/11/10 (1.181)- Fixed some warnings and C++ error
diff --git a/nuklear.h b/nuklear.h
index 09ea7f7..93bcada 100644
--- a/nuklear.h
+++ b/nuklear.h
@@ -20746,8 +20746,8 @@ nk_tooltip_end(struct nk_context *ctx)
{
NK_ASSERT(ctx);
NK_ASSERT(ctx->current);
- if (!ctx || !ctx->current)
- return;
+ if (!ctx || !ctx->current) return;
+ ctx->current->seq--;
nk_popup_close(ctx);
nk_popup_end(ctx);
}