-
-
Notifications
You must be signed in to change notification settings - Fork 9.9k
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
Drag and Drop cursor overlaps tooltip #1739
Comments
There's code in
I think at the time I felt it looked really strange to have the tooltip offset by the regular amount (you can try by commenting out the call to Note that you may call BeginDragDropSource() with |
…s off the mouse cursor, but also closer to it than regular tooltips, and not clamped by viewport. (#1739)
@sherief : I have pushed a change like that now. I'm intentionally not using
I think using an hard-coded offset + scale satisfy this without overreaching (it's arguably under-engineered but not problematic at the moment). |
You're right, I like your solution better! |
See attached picture. I think the tooltip should be offset by the cursor rect so that the mouse cursor doesn't make the first letter or two difficult to read.
![capture](https://user-images.githubusercontent.com/1711646/38559514-18b6385e-3c88-11e8-8221-7cd0471eb6a6.PNG)
The text was updated successfully, but these errors were encountered: