Skip to content

Commit

Permalink
made the added shapes transparent with bordercolor black
Browse files Browse the repository at this point in the history
  • Loading branch information
JKomieter committed Jan 17, 2024
1 parent 9e07772 commit a9cbe6b
Show file tree
Hide file tree
Showing 32 changed files with 72 additions and 10,067 deletions.
4 changes: 2 additions & 2 deletions backend/controllers/socketControllers.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@ const boardHandler = (socket, io) => {
const addCircle = ({ boardId, circle }) => {
try {
console.log('add circle', boardId, circle);
socket.to(boardId).emit('add-circle-broadcast', { circle });
socket.to(boardId).emit('add-circle-broadcast', { circle });
} catch (error) {
console.log('Failed to add circle:', error);
}
};

socket.on('draw', drawHandler);
socket.on('create-board', createBoard);
socket.on('join-board', joinBoard);
Expand Down

This file was deleted.

This file was deleted.

Loading

0 comments on commit a9cbe6b

Please sign in to comment.