浏览代码

fix image hitTestSelf

lucky1213 5 年前
父节点
当前提交
4a3b2070ed
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3
    0
      packages/zefyr/lib/src/widgets/image.dart

+ 3
- 0
packages/zefyr/lib/src/widgets/image.dart 查看文件

103
     this.child = child;
103
     this.child = child;
104
   }
104
   }
105
 
105
 
106
+  @override
107
+  bool hitTestSelf(Offset position) => true;
108
+
106
   @override
109
   @override
107
   EmbedNode node;
110
   EmbedNode node;
108
 
111