summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2013-04-13 11:32:13 +0200
committerlouis <louis.braun@gmx.de>2013-04-13 11:32:13 +0200
commit7a725623ef50c396fe63318049e71dbac53764e6 (patch)
treec34cb294cd5ba066cf6c2f3191112ee1d3f2874f
parenta2634c22a33ae5db9add1533c34a6636fde24859 (diff)
downloadskin-nopacity-7a725623ef50c396fe63318049e71dbac53764e6.tar.gz
skin-nopacity-7a725623ef50c396fe63318049e71dbac53764e6.tar.bz2
fixed scrolling of EPG Info window
-rw-r--r--textwindow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/textwindow.c b/textwindow.c
index acb5c34..2fe6d36 100644
--- a/textwindow.c
+++ b/textwindow.c
@@ -35,7 +35,7 @@ bool cNopacityTextWindow::CreatePixmap(int border) {
twText.Set(text, font, geometry->Width() - 2*border);
int pixmapTotalHeight = lineHeight * (twText.Lines()+1);
int drawportHeight = geometry->Height();
- if (pixmapTotalHeight > drawportHeight) {
+ if ((pixmapTotalHeight - (lineHeight/2)) > drawportHeight) {
drawportHeight = pixmapTotalHeight;
scrolling = true;
}