-
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
Mass-edit road selection panel #631
Mass-edit road selection panel #631
Conversation
new class AdjustRoadSelectionPanelExtender implemented the UI of the quick edit buttons. new class RoadSelection uses reflection to access netadjust path.
problem the buttoms are not enabled.
fixed active/inacitve/disabled states added roundabout detection
completed/fixed comments. tested and works.
I fixed a couple of problems please see commit message. |
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.
LGTM 👍
You didn't answer this. I take it that this is OK by now? |
@krzychu124 I made a few lines of simple changes. Can you please approve this. |
Regarding the performance issue while tmpe toolbar is open, like Kian I also don't see any drop in frame rate. Could be hardware specific though. |
Fps drop was caused by excessive log spam. |
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.
The following questions are still without answers nor even comment (yes/no)
I'm not really perfectionist but I see possible bugs/typos and I'm not sure if they were intent(I can't read in minds, sorry).
You are absolutely right!
@krzychu124 this is github being stupid. I did put comments but it does not show up in the conversation tab. you should go to the files changed tab to see the comments I put in the files changed tab. Can you please do that and respond to me? |
@krzychu124 one more thing. Sometimes you have to press |
fixes #542
I was unable to fully fix mass edit overlay so I disabled it and created issue #789I fixed all other problems.
This is ready for review.
Added Identical road selection UI to
roadAdjust
panel androadWorldInfoPanel
. See #542 (comment) for pictures.expected behavior
activation of the panel inroadAdjust
activates mass edit overlay so that user can see relevant traffic rules. same is true when user clicks a button. note that roadAdjust is in turn automatically activated when user tries to modify road selection.Scope:
Since there is so much new user interface here there is a lot of potential for new feature [EDIT: see #691]. Therefore I have to severely limit the scope of this review by limiting some of the functionality. The objective is not to implement all missing features in TMPE! Its to provide the base UI interface and lay out the foundation for the rest of the work.
EDIT: speaking of scope priority roads that turn on junctions are not supported. Roundabout paths on the other hand can go through different routes.EDIT: paths that turn left/right on junctions are supported.
further changes
implemented simplistic undo functionality for roundabout. (I worked around managers should provide reset functions for traffic rules. #623)EDIT: with managers should provide reset functions for traffic rules. #623 resolved, I am able to clear traffic rules (its more basic than restore/undo see Undo/delete feature #568)Translation keys:
These keys have been added in another PR.: