Branch: refs/heads/master Author: Colomban Wendling ban@herbesfolles.org Committer: Colomban Wendling ban@herbesfolles.org Date: Wed, 12 Oct 2016 08:14:56 UTC Commit: eb109be02055db8165869a15294b62e19970c995 https://github.com/geany/geany-plugins/commit/eb109be02055db8165869a15294b62...
Log Message: ----------- git-changebar: Fix tooltip hunk width
Fix an off-by-one issue in tooltip hunk width calculation cropping 1px on the right. The issue is only actually visible if the last character on the longest line uses its far right pixel in an important way (like uppercase H or M).
Modified Paths: -------------- git-changebar/src/gcb-plugin.c
Modified: git-changebar/src/gcb-plugin.c 2 lines changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -799,7 +799,7 @@ get_widget_for_buf_range (GeanyDocument *doc, } } gtk_widget_set_size_request (GTK_WIDGET (sci), - MIN (width, alloc.width), + MIN (width + 1, alloc.width), MIN (height + 1, alloc.height));
return GTK_WIDGET (sci);
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
plugins-commits@lists.geany.org