1
0
mirror of git://projects.qi-hardware.com/gmenu2x.git synced 2024-11-22 23:10:37 +02:00

Remove useless clipper

This commit is contained in:
Paul Cercueil 2013-06-16 20:52:20 -04:00
parent 4347c340a6
commit a0690ba59e

View File

@ -704,7 +704,6 @@ void GMenu2X::main() {
} }
//Links //Links
s->setClipRect(6,skinConfInt["topBarHeight"],resX-9,resY-74); //32*2+10
for (i=menu->firstDispRow()*linkColumns; i<(menu->firstDispRow()*linkColumns)+linksPerPage && i<menu->sectionLinks()->size(); i++) { for (i=menu->firstDispRow()*linkColumns; i<(menu->firstDispRow()*linkColumns)+linksPerPage && i<menu->sectionLinks()->size(); i++) {
int ir = i-menu->firstDispRow()*linkColumns; int ir = i-menu->firstDispRow()*linkColumns;
x = (ir%linkColumns)*(skinConfInt["linkWidth"]+linkSpacingX)+6; x = (ir%linkColumns)*(skinConfInt["linkWidth"]+linkSpacingX)+6;