File tree 1 file changed +3
-14
lines changed
1 file changed +3
-14
lines changed Original file line number Diff line number Diff line change 153
153
const elapsedTimeRight = elapsedTime . getBoundingClientRect ( ) . right ;
154
154
const elapsedTimeLeft = elapsedTime . getBoundingClientRect ( ) . left ;
155
155
156
- // If the remaining time is on top right of the progress bar, make the cat sleep to the a little bit to the left of the remaining time
157
- // Theme compatibility
158
- if ( remainingTimeLeft < progressBarRight && remainingTimeTop < progressBarBottom && progressBarTop - remainingTimeBottom < 32 ) {
159
- mousePosX = remainingTimeLeft - 16 ;
160
-
161
- // Comfy special case
162
- if ( Spicetify . Config . current_theme === "Comfy" ) {
163
- mousePosY = progressBarTop - 14 ;
164
- }
165
-
166
- // Move the cat to the left of elapsed time if it is too close to the remaining time (Nord theme)
167
- if ( remainingTimeLeft - elapsedTimeRight < 32 ) {
168
- mousePosX = elapsedTimeLeft - 16 ;
169
- }
156
+ // Comfy special case
157
+ if ( Spicetify . Config . current_theme === "Comfy" ) {
158
+ mousePosY = progressBarTop - 14 ;
170
159
}
171
160
}
172
161
You can’t perform that action at this time.
0 commit comments