mirror of
https://github.com/ente-io/ente.git
synced 2025-08-08 23:39:30 +00:00
[mob][photos] Fix minor clipping issue on ContinuousRectangleBorder of faces
This commit is contained in:
parent
3ddb43b2b3
commit
e43a6bbd21
@ -214,8 +214,17 @@ class PersonSearchExample extends StatelessWidget {
|
|||||||
},
|
},
|
||||||
child: Column(
|
child: Column(
|
||||||
mainAxisSize: MainAxisSize.min,
|
mainAxisSize: MainAxisSize.min,
|
||||||
|
crossAxisAlignment: CrossAxisAlignment.center,
|
||||||
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
children: [
|
children: [
|
||||||
Stack(
|
ClipPath(
|
||||||
|
clipper: ShapeBorderClipper(
|
||||||
|
shape: ContinuousRectangleBorder(
|
||||||
|
borderRadius: BorderRadius.circular(82),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
child: Stack(
|
||||||
|
clipBehavior: Clip.none,
|
||||||
alignment: Alignment.center,
|
alignment: Alignment.center,
|
||||||
children: [
|
children: [
|
||||||
ClipPath(
|
ClipPath(
|
||||||
@ -239,7 +248,7 @@ class PersonSearchExample extends StatelessWidget {
|
|||||||
? ClipPath(
|
? ClipPath(
|
||||||
clipper: ShapeBorderClipper(
|
clipper: ShapeBorderClipper(
|
||||||
shape: ContinuousRectangleBorder(
|
shape: ContinuousRectangleBorder(
|
||||||
borderRadius: BorderRadius.circular(80),
|
borderRadius: BorderRadius.circular(81),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
child: searchResult.type() != ResultType.faces
|
child: searchResult.type() != ResultType.faces
|
||||||
@ -252,7 +261,7 @@ class PersonSearchExample extends StatelessWidget {
|
|||||||
: ClipPath(
|
: ClipPath(
|
||||||
clipper: ShapeBorderClipper(
|
clipper: ShapeBorderClipper(
|
||||||
shape: ContinuousRectangleBorder(
|
shape: ContinuousRectangleBorder(
|
||||||
borderRadius: BorderRadius.circular(80),
|
borderRadius: BorderRadius.circular(81),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
child: const NoThumbnailWidget(
|
child: const NoThumbnailWidget(
|
||||||
@ -262,6 +271,7 @@ class PersonSearchExample extends StatelessWidget {
|
|||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
),
|
||||||
isCluster
|
isCluster
|
||||||
? GestureDetector(
|
? GestureDetector(
|
||||||
behavior: HitTestBehavior.translucent,
|
behavior: HitTestBehavior.translucent,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user