Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The graphic being drawn is not displayed sometimes. #29

Open
XMJLXMJL opened this issue Oct 19, 2023 · 1 comment
Open

The graphic being drawn is not displayed sometimes. #29

XMJLXMJL opened this issue Oct 19, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@XMJLXMJL
Copy link

When triggered by the DrawingEnded event and executing the DrawEndedCommand to repeat the drawing, a strange phenomenon occurs:

During the drawing process, under normal circumstances, as you move the mouse, a graphic that changes in size with the mouse's position is displayed.
However, in some cases, while moving the mouse, the graphic being drawn is not displayed, and it only appears after releasing the mouse to indicate that the drawing is complete.

For instance, if I click the button "Draw xx" three times before starting to draw, it will not display every third time. In other words, it won't display on the 4th, 8th, 12th... drawing
If I start drawing after the first click, it will not display every other time. In other words, it won't display on the 2nd, 4th, 6th, 8th... drawing.

This phenomenon occurs in both the RichCanvasDemo and my own project.
Why does this phenomenon occur, and are there any solutions?

20231019_133918.mp4
@mircea21S
Copy link
Owner

This could be an issue and I would need to investigate more on it. This is all I can say at the moment, I can't say why this happens and what's a quick solution at the moment.

@mircea21S mircea21S added the bug Something isn't working label Oct 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants