mirror of
				https://github.com/TeamPiped/Piped.git
				synced 2024-08-14 23:57:27 +00:00 
			
		
		
		
	Fix delay instead of increasing it.
This commit is contained in:
		
							parent
							
								
									3a2ef0552f
								
							
						
					
					
						commit
						b68c8c2d58
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		| 
						 | 
					@ -211,7 +211,9 @@ export default {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                                if (Math.abs(delay) > 0.1) {
 | 
					                                if (Math.abs(delay) > 0.1) {
 | 
				
			||||||
                                    this.audioplayer.currentTime =
 | 
					                                    this.audioplayer.currentTime =
 | 
				
			||||||
                                        this.player.currentTime() - delay;
 | 
					                                        delay > 0.2
 | 
				
			||||||
 | 
					                                            ? this.player.currentTime()
 | 
				
			||||||
 | 
					                                            : this.player.currentTime() + delay;
 | 
				
			||||||
                                }
 | 
					                                }
 | 
				
			||||||
                            }
 | 
					                            }
 | 
				
			||||||
                        });
 | 
					                        });
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue