-
Notifications
You must be signed in to change notification settings - Fork 85
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
Eraser button on main toolbar #692
Comments
In the new main panel design, where will the button fit? If we cannot change the mouse cursor, it should be possible to render a small overlay or a 3d model in the world where the cursor will be acting. |
No idea. Initially, at least, I imagine it might look clunky as there could be odd number of buttons on the toolbar. But if we eventually start merging some tools (probably a very time consuming task as the user interaction will need very careful consdieration) then that would eventually sort itself out.
Both. When used on it's own, it clears the customisations of all tools for the clicked thing. Eg. Clicking a junction would reset traffic lights, junction restrictions, lane arrows, lane connectors, etc. When used on it's own we could potentially give user some way to select which tools to clear (like, their icons could light up on the toolbar and user could toggle them or something). When used while a different tool is selected, it would only clear settings for that specific tool.
The "select and customise" tools (lane connector, lane arrows, junction restrictions, traffic lights, priority signs) would still have the
Yup, Unity provides mouse delta so that is easy to do (same way some mods allow their button to be dragged, they just update position based on delta). I'd suggest looking at Network Skins 2 "picker" tool which appears to have custom cursor. |
We can change cursor to any sprite texture we want and then set offset from center (current |
Being able to change mouse cursor would be super-useful for |
Was about to close this issue then noticed #1126 - so keeping open for now just in case. |
updated OP |
Summary: A new "eraser" button on the TM:PE toolbar which, when selected, allows users to clear their customisations for anything clicked on.
This idea formed some time ago but is strewn across multiple tickets, such as: #84, #77, #42, #41, #40, #38. Thanks to #623 and related issues, most or all tools now have reset features. The eraser tool is just a more visible way for user to call the reset functions.
This would solve two key issues we currently have (treat
Delete
andBackspace
as synonymous):Discoverability - most users still probably don't know they canDelete
customisations from selected thing; a button on toolbar solves that (it can also mentionDelete
shortcut in tooltip)Speed Limits andParking Restrictions - unlike other tools, these aren't "select then customise" and as such are currently not suitable forDelete
shortcut.Yeet the 'toggle despawn' button from toolbar, replace with eraser button. Toggle despawn is already available as "Disable despawning" on gameplay tab in settings; we don't need a button for it on toolbar, it's not something people are changing on and off every few minutes
All tools would likely need to use a state engine, because the eraser tool can either act in its own right (reset all customisations for clicked thing) or as a sub-tool of another tool (reset that tools' customisations for clicked thing).It is possible to change the mouse cursor image (eg. see NS2's picker tool), so we could set mouse cursor to an eraser (same icon as button on menu bar) for added visual feedback that you are in "eraser mode". Alternatively a mouse-following tooltip (like in new speed limits tool).
The text was updated successfully, but these errors were encountered: