remove sorting

Don't sort monitors on resize.  Fixes labels not matching graphs
pull/2077/head
digital-gnome 2017-10-12 12:41:54 -04:00
parent e6c0add17e
commit d523e0e3f1
1 changed files with 1 additions and 1 deletions

View File

@ -551,7 +551,7 @@ function maxfit2(divW, divH) {
var borders=-1;
monitorPtr.sort(compSize);
//monitorPtr.sort(compSize); //Sorts monitors by size in viewport. If enabled makes captions not line up with graphs.
while(1) {
if( maxScale - minScale < 0.01 ) break;