transmit cursor movement while drawing
This commit is contained in:
parent
684a7d80e0
commit
9f9fca40b7
@ -83,9 +83,10 @@ function main() {
|
||||
username: btoa(myUsername),
|
||||
sendFunction: function (content) {
|
||||
if (ReadOnlyService.readOnlyActive) return;
|
||||
if (content.t === 'cursor') {
|
||||
if (whiteboard.drawFlag) return;
|
||||
}
|
||||
//ADD IN LATER THROUGH CONFIG
|
||||
// if (content.t === 'cursor') {
|
||||
// if (whiteboard.drawFlag) return;
|
||||
// }
|
||||
content["at"] = accessToken;
|
||||
signaling_socket.emit('drawToWhiteboard', content);
|
||||
$('#messageSentCount')[0].innerText = String(messageSentCount++);
|
||||
|
Loading…
Reference in New Issue
Block a user