sd012gfhkhhvh / Slate.AI

A Real Time Whiteboard for doodling with multiple peoples
https://slate-ai.vercel.app
MIT License
11 stars 16 forks source link

[BUG] - "Invisible Trails Issue: Drawing Rectangles and Lines in Room-page" #3

Open sd012gfhkhhvh opened 7 months ago

sd012gfhkhhvh commented 7 months ago

Severity:

Issue Description: The trails are not visible while drawing the rectangles or lines in the room page. During the mouseMove event, the trails are not visible, but the entire figure shows up after the mouseUp event.

Steps to Reproduce:

  1. Go to the room page.
  2. Select the drawing tool from the toolbar.
  3. Attempt to draw rectangles or lines.

Expected Behavior: Trails should be visible while drawing during the mouseMove event.

Actual Behavior: Trails are not visible during the mouseMove event, but the entire figure shows up after the mouseUp event.

Environment (please complete the following information):

sajid-31 commented 7 months ago

I'm still trying to figure this out. Hear me out, lets consider the line. The mouseMove event will just update the present line. I don't think there is a need to have the mouseUp event because the mouseMove event will update it till the last one, right? So, just having a proper functioning mouseMove event is enough ? Is this the right approach?

sd012gfhkhhvh commented 7 months ago

I'm still trying to figure this out. Hear me out, lets consider the line. The mouseMove event will just update the present line. I don't think there is a need to have the mouseUp event because the mouseMove event will update it till the last one, right? So, just having a proper functioning mouseMove event is enough ? Is this the right approach?

you are thinking in the right direction. try it out and let me know

Hrx4 commented 7 months ago

Hey @sd012gfhkhhvh assign me this issue under jwoc

sd012gfhkhhvh commented 7 months ago

Hey @sd012gfhkhhvh assign me this issue under jwoc

Ok @Hrx4 assigning you the issue, kindly report to the slateai chanel in discord with a message "I am working on the issue #3". Follow all the guidelines and keep me updated

JavidSumra commented 6 months ago

Hey @sd012gfhkhhvh Sir I Would Like to Work on this issue Under JWOC 2024.