Browse Source

1、清除其他人的画板

bakamaka.guan 2 years ago
parent
commit
5f912e8d7d
1 changed files with 1 additions and 0 deletions
  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() {