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