Parcourir la source

1、清除其他人的画板

bakamaka.guan il y a 2 ans
Parent
commit
5f912e8d7d
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      lib/components/white_board/white_board.dart

+ 1 - 0
lib/components/white_board/white_board.dart

@@ -228,6 +228,7 @@ class _FWhiteBoardState extends State<FWhiteBoard> {
 
   void _clearUserLines(String userId) {
     myPen.clearCurrectUserLines(userId);
+    otherPen.clearCurrectUserLines(userId);
   }
 
   void _onPanCancel() {