changeset 36884:98568083fb1d

Render the full height of the image as calculated. The X11/GTK GUI does so as well. In particular, there must not be code for a special handling of a specific skin - a handling which seems to be obsolete meanwhile anyway.
author ib
date Fri, 07 Mar 2014 13:58:14 +0000
parents e299b6fd7eaa
children 1f4661a5495e
files gui/win32/widgetrender.c
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/gui/win32/widgetrender.c	Wed Mar 05 21:58:04 2014 +0000
+++ b/gui/win32/widgetrender.c	Fri Mar 07 13:58:14 2014 +0000
@@ -336,9 +336,6 @@
             item->x = item->wx + item->wwidth - item->width;
         if(item->x < item->wx)
             item->x = item->wx;
-        /* workaround for blue */
-        if(item->type == tyHpotmeter)
-            height = (item->height < img->height / 3) ? item->height : img->height / 3;
     }
     render(skin->desktopbpp, dest, img, item->x, item->y, 0, y, img->width, height, 1);
 }