Double/Triple-click unpolished behaviour
Describe the bug Double/Triple-clicks do not behave as one would expect:
-
Quadruple-click is the same as triple-click. Instead, they should be treated the same as single-click.

-
Double/triple-clicks are triggered even after moving cursor. Instead, they should be only trigger single-click when changing cursor position.

To Reproduce Repeatedly click inside Demo Code Editor.
Desktop:
- OS: Arch Linux
I already did some work on this: https://github.com/emilk/egui/compare/master...fezjo:egui:fezjo/multi-click
i recently started using this amazing library and i am also having this issue on windows will it be fixed anytime soon?
There is more polishing for this. Now it doesn't have the a drag to select feature at all because events happen on Mouse up instead of Mouse down.
Double clicking on text should work like this:
- Mouse Down
- Mouse Up
- Mouse Down (This selects the word)
- Then starting to drag mouse will select words
- Mouse Up selection is done.
Triple clicking on text should work like this:
- Mouse Down
- Mouse Up
- Mouse Down
- Mouse Up
- Mouse Down (This selects the paragraph)
- Then starting to drag mouse will select paragraphs
- Mouse Up selection is done.
This is subtle, but that's how it works on browsers and text editors.