transmit cursor movement while drawing

This commit is contained in:
raphael 2020-05-09 15:08:49 +02:00
parent 684a7d80e0
commit 9f9fca40b7

View File

@ -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++);