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
Make the primary, flow-advancing action the right-most #7594
Conversation
I support this, but the button co-ordinates have not been changed? |
builtin/mainmenu/tab_local.lua
Outdated
"button[9.2,3.95;2.5,1;world_configure;".. fgettext("Configure") .. "]" .. | ||
"button[6.5,3.95.15;2.8,1;world_create;".. fgettext("New") .. "]" .. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Merely re-ordering the lines has no effect whatsoever. :)
I think it's just a matter of swapping the button names (world_create
and world_configure
) and the display names, while keeping the x, y, w, h
values intact.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
^ That.
Holy mese I’m stupid. xD Let me correct that later. |
Indeed, that's a little too much of a "no-brainer". Although, the concept is fine. |
Did you test it? Will +1 if so. |
Haven't tested, but the code seems alright to me. minetest/builtin/mainmenu/tab_local.lua Line 97 in bf45644
|
Tested and working. |
Well spotted, that '.15' added to '3.95' is inconsistent with the other buttons. Line 1962 in bf45644
+1 when done. |
Looks good to me 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Trivial stuff, looks good.
This should be a no-brainer. UX standards dictates that the primary action should be put to the right.