diff options
author | louis <louis.braun@gmx.de> | 2013-04-13 11:32:13 +0200 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2013-04-13 11:32:13 +0200 |
commit | 7a725623ef50c396fe63318049e71dbac53764e6 (patch) | |
tree | c34cb294cd5ba066cf6c2f3191112ee1d3f2874f | |
parent | a2634c22a33ae5db9add1533c34a6636fde24859 (diff) | |
download | skin-nopacity-7a725623ef50c396fe63318049e71dbac53764e6.tar.gz skin-nopacity-7a725623ef50c396fe63318049e71dbac53764e6.tar.bz2 |
fixed scrolling of EPG Info window
-rw-r--r-- | textwindow.c | 2 |
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; } |