Skip to content

Commit

Permalink
new chapters fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
hohMiyazawa committed Aug 31, 2020
1 parent 0de00e7 commit 42a5ebb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/css/displayBox.css
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
color: white;
border-color: rgb(var(--color-text));
filter: drop-shadow(0 0 0.2rem crimson);
z-index: 20;
}
}
.hohDisplayBoxClose:hover{
filter: drop-shadow(0 0 0.75rem crimson);
Expand Down
8 changes: 6 additions & 2 deletions src/modules/drawListStuff.js
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,7 @@ function drawListStuff(){
}
};
let bigQuery = [];
let queryList = [];
list.forEach(function(entry,index){
if(!bannedEntries.has(entry.mediaId)){
bigQuery.push({
Expand Down Expand Up @@ -305,11 +306,14 @@ query($id: Int,$userName: String){
})
}
if((index % 20) === 0){
queryPacker(bigQuery);
queryList.push(bigQuery);
bigQuery = []
}
});
queryPacker(bigQuery)
queryPacker(bigQuery);
queryList.forEach((littleBig,index) => {
setTimeout(function(){queryPacker(littleBig)},index * 50)
})
})
}
};
Expand Down

0 comments on commit 42a5ebb

Please sign in to comment.