cracker0dks / whiteboard

Lightweight collaborative Whiteboard / Sketchboard
MIT License
719 stars 198 forks source link

Move canvas in read-only mod #189

Closed Kerblif closed 5 months ago

Kerblif commented 6 months ago

Good afternoon.

I think it's a big omission that you can't move the board in read-only mod.

cracker0dks commented 6 months ago

true! I fixed that. Please give it a try.

Kerblif commented 5 months ago

Nope, something strange happened

Screenshot 2024-05-06 at 2 05 23 PM
cracker0dks commented 5 months ago

Are you sure you are on the latest commit. Because we dont use require anymore. Line 18 looks like this: https://github.com/cracker0dks/whiteboard/blob/master/scripts/server-backend.js#L18 So please try to checkout the latest master commit.

Kerblif commented 5 months ago
Screenshot 2024-05-07 at 12 16 44 PM

Yes, I'm sorry, I forgot. I took the new version, but an error still occurs

cracker0dks commented 5 months ago

ah, my bad. please pull and try again.

Kerblif commented 5 months ago

Thanks, everything is working!