mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2024-12-16 05:41:30 +01:00
formatting changes
This commit is contained in:
parent
fe1889653e
commit
46918ee907
@ -1265,7 +1265,7 @@ public final class PopupVideoPlayer extends Service {
|
||||
return false;
|
||||
}
|
||||
|
||||
if(initPointerDistance != -1){
|
||||
if (initPointerDistance != -1) {
|
||||
|
||||
//get the movements of the fingers
|
||||
float firstPointerMoveX = event.getX(0) - initFirstPointerX;
|
||||
@ -1275,8 +1275,8 @@ public final class PopupVideoPlayer extends Service {
|
||||
//minimum threshold beyond which pinch gesture will work
|
||||
int scaledTouchSlop = ViewConfiguration.get(PopupVideoPlayer.this).getScaledTouchSlop();
|
||||
|
||||
if(firstPointerMoveX > scaledTouchSlop ||firstPointerMoveY > scaledTouchSlop ||
|
||||
secPointerMoveX > scaledTouchSlop || secPointerMoveY > scaledTouchSlop) {
|
||||
if (firstPointerMoveX > scaledTouchSlop ||firstPointerMoveY > scaledTouchSlop
|
||||
|| secPointerMoveX > scaledTouchSlop || secPointerMoveY > scaledTouchSlop) {
|
||||
|
||||
double newWidth = popupWidth;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user