mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
pluginlist: don't show full list when pluginlist-size is smaller
Origin commit data
------------------
Branch: ni/coolstream
Commit: b427c3d6a5
Author: vanhofen <vanhofen@gmx.de>
Date: 2014-02-08 (Sat, 08 Feb 2014)
Origin message was:
------------------
- pluginlist: don't show full list when pluginlist-size is smaller
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -324,7 +324,10 @@ void CPluginList::paint()
|
||||
width = w_max( 500, 0 );
|
||||
height = h_max( 526, 50 ); // 2*25 pixel frei
|
||||
listmaxshow = (height-theight-0)/fheight;
|
||||
height = theight+0+listmaxshow*fheight; // recalc height
|
||||
int multiplicator = pluginlist.size();
|
||||
if (listmaxshow < pluginlist.size())
|
||||
multiplicator = listmaxshow;
|
||||
height = theight+0+multiplicator*fheight; // recalc height
|
||||
x=getScreenStartX( width );
|
||||
y=getScreenStartY( height );
|
||||
|
||||
|
Reference in New Issue
Block a user