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
Middle drag + Left drag #6544
Middle drag + Left drag #6544
Conversation
Fixed the client revert by adding an inhibiting variable check. |
It should be done, Just need a lot of testing as well as commit squashing. |
627aa44
to
ea8403d
Compare
Removed unnecessary whitespace changes, re-added accidentally removed stuff, rebased and squashed into the three main commit. |
Just when I thought I am close to done, there are more edge cases in the preview/prediction. |
clang gives this warning for me, which seems like a reasonable point.
|
@basicer The line number doesn't seem to match, is your copy outdated? I changed the TODO list from strikethough to a task list, there are two more known problem which need to be fix before merging. One of them is simple, the other gonna need some time. |
Middle mouse button needs to be rebindable to a key |
Why not merge this PR and theeen work on rebindable mouse keys? :) So it wont be held hostage for next 1000 years. |
All boxes are ticked, to be clear is this ready now? |
It was but stuff happen, something about a refactor and now it's probably broken. Honestly, this whole PR was mostly just me reacting to you closing #2963 (comment) with "Quite complex", "Old issue and no support, low priority" and not to mention, a ":-1:". It's a feature that would improve the user experience of the crafting system. I am gonna just close this since I don't really intent to work on it anymore, mostly because I don't really follow minetest development since... well, long ago. Feel free to take over or reimplement it. |
I've removed my -1 from the issue, i don't disapprove anymore, that was a mistake. |
Implement #2963.
A follow up on #6416.
The middle click is pretty simple, the left click, Honestly, I just throw in some code and got it to work base on the idea in #2963.
Dragging to non empty slot isn't support since it's much more complex, probably out of scope of this pr.
READ: left click drag is mostly just a Proof of Concept, is still mostly a Work in Process and probably Horribly Implemented.Here is a break down of what I did for the left click
create an action list and update it every time a new ItemSpec get addedrun all the action in the list when the left click was let go off.The left click drag display update is only local (afaik).
Only after the left click is let go off then it sends the list of item move action.
There are a number of problem with the left click still, such as
(TODO):
(0.14 in video, seem like some kind of lag detection thingy which happen when the server didn't respond to the changes)
Middle drag + Left drag #6544 (comment)
seem to be due to BLACK MAGIC cause by verifySelectedItem, the source of calling is still unknown.
Old video: https://www.youtube.com/watch?v=15lDdFRYdkI