File tree 1 file changed +14
-13
lines changed
1 file changed +14
-13
lines changed Original file line number Diff line number Diff line change @@ -229,19 +229,20 @@ class _VideoTrackRendererState extends State<VideoTrackRenderer> {
229
229
return _videoRendererView ();
230
230
}
231
231
return LayoutBuilder (
232
- builder: (BuildContext context, BoxConstraints constraints) {
233
- return GestureDetector (
234
- onScaleStart: (details) {},
235
- onScaleUpdate: (details) {
236
- if (details.scale != 1.0 ) {
237
- setZoom (details.scale);
238
- }
239
- },
240
- onTapDown: (TapDownDetails details) =>
241
- onViewFinderTap (details, constraints),
242
- child: _videoRendererView (),
243
- );
244
- });
232
+ builder: (BuildContext context, BoxConstraints constraints) {
233
+ return GestureDetector (
234
+ onScaleStart: (details) {},
235
+ onScaleUpdate: (details) {
236
+ if (details.scale != 1.0 ) {
237
+ setZoom (details.scale);
238
+ }
239
+ },
240
+ onTapDown: (TapDownDetails details) =>
241
+ onViewFinderTap (details, constraints),
242
+ child: _videoRendererView (),
243
+ );
244
+ },
245
+ );
245
246
},
246
247
);
247
248
}
You can’t perform that action at this time.
0 commit comments