Przeglądaj źródła

fix image hitTestSelf

lucky1213 5 lat temu
rodzic
commit
4a3b2070ed
1 zmienionych plików z 3 dodań i 0 usunięć
  1. 3
    0
      packages/zefyr/lib/src/widgets/image.dart

+ 3
- 0
packages/zefyr/lib/src/widgets/image.dart Wyświetl plik

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