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 E G S T D A M icons in UmpleOnline context sensitive #1400

Open
TimLethbridge opened this Issue Oct 25, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@TimLethbridge
Member

TimLethbridge commented Oct 25, 2018

The 'icons' that allow the user to control the diagram type, whether text or diagrams are displayed, and whether attributes or methods are displayed are currently not sensitive to the current state.

A lighter shade should be shown for currently inactive states. So only one of the E, G or S icons should be in normal shade. If Text is hidden, or diagram is hidden, the T or D should be in lighter shade. And the A or M would also be sensitive to the current state. By default at startup, the E, T, D and A icons would appear normal.

The initial setting of these items occurs in umple.php after line 200, but these would have to be given ids to allow control. css style button2 is set around line 111. There is a button2:active style that is the same as when hovering, but it is never being used.

Initial state is known at php startup for some of these settings, e.g. $diagramType, $showText. But the setting would also have to be controlled by javascript when the various settings change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment