Fixed ngraphs>blocks bug + generic.ini changed
This commit is contained in:
@ -1140,7 +1140,7 @@ let graphs = (function (){
|
||||
* Creates the graphs or selection for each displayed graph
|
||||
*/
|
||||
function createGraphs() {
|
||||
let n = Math.max(2, Math.floor(window.innerHeight / 200));
|
||||
let n = Math.min(blocks.length,Math.max(2, Math.floor(window.innerHeight / 200)));
|
||||
|
||||
if (n != ngraphs) {
|
||||
for (let i = ngraphs; i < n; i++) {
|
||||
|
Reference in New Issue
Block a user