Browse Source

fix image hitTestSelf

lucky1213 4 years ago
parent
commit
4a3b2070ed
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      packages/zefyr/lib/src/widgets/image.dart

+ 3
- 0
packages/zefyr/lib/src/widgets/image.dart View File

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