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