Skip to content

Commit

Permalink
fix(trainingMouseProtector): disable performance breaking style
Browse files Browse the repository at this point in the history
  • Loading branch information
jxn-30 committed Nov 24, 2024
1 parent bc3df56 commit 07e07d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/trainingMouseProtector.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -1142,7 +1142,7 @@ new Promise((resolve, reject) => {
for (const room of staff) {
roomNum++;
if (!room.length) continue;
setProgressStyle(room);
// setProgressStyle(room);
await reqOr100ms(fillRoom(schoolingIds.shift(), room));
progressBar.style.setProperty(
'width',
Expand All @@ -1155,7 +1155,7 @@ new Promise((resolve, reject) => {
// this is an own school
for (const [schoolId, staff] of Object.entries(roomPlan)) {
const staffForSchool = staff.flat();
setProgressStyle(staffForSchool);
// setProgressStyle(staffForSchool);
await reqOr100ms(
openSchool(
schoolId,
Expand Down

0 comments on commit 07e07d2

Please sign in to comment.