瀏覽代碼

Merge pull request #154 from dmytro-glynskyi/patch-1

Upgraded to Flutter 1.9.0
Anatoly Pulyaevskiy 5 年之前
父節點
當前提交
7f929fb7fe
No account linked to committer's email address
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      packages/zefyr/lib/src/widgets/selection.dart

+ 1
- 1
packages/zefyr/lib/src/widgets/selection.dart 查看文件

@@ -422,7 +422,7 @@ class _SelectionHandleDriverState extends State<SelectionHandleDriver>
422 422
     // Make sure the GestureDetector is big enough to be easily interactive.
423 423
     final Rect interactiveRect = handleRect.expandToInclude(
424 424
       Rect.fromCircle(
425
-          center: handleRect.center, radius: kMinInteractiveSize / 2),
425
+          center: handleRect.center, radius: kMinInteractiveDimension / 2),
426 426
     );
427 427
     final RelativeRect padding = RelativeRect.fromLTRB(
428 428
       math.max((interactiveRect.width - handleRect.width) / 2, 0),