mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-22 18:00:02 +01:00
Fix outgoing quote over media.
This commit is contained in:
committed by
Greyson Parrelli
parent
ce1983a3b1
commit
2412f6f63a
@@ -131,6 +131,15 @@ public final class Projection {
|
||||
return set(x, y + boundary, width, height - boundary, newCorners);
|
||||
}
|
||||
|
||||
public @NonNull Projection insetBottom(int boundary) {
|
||||
Corners newCorners = this.corners == null ? null : new Corners(this.corners.topLeft,
|
||||
this.corners.topRight,
|
||||
0,
|
||||
0);
|
||||
|
||||
return set(x, y, width, height - boundary, newCorners);
|
||||
}
|
||||
|
||||
public static @NonNull Projection relativeToParent(@NonNull ViewGroup parent, @NonNull View view, @Nullable Corners corners) {
|
||||
Rect viewBounds = new Rect();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user