Skip to content
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

Improve the display of parameters and units in diagram #9684

Merged
merged 1 commit into from
Nov 10, 2022

Conversation

adeas31
Copy link
Member

@adeas31 adeas31 commented Nov 10, 2022

Related Issues

#8966

Purpose

Improve the parameters and units display.

Approach

  • Do not display unit if the value is a not a literal constant.
  • Do not try unit conversions if the display unit is empty or same as unit.

@adeas31 adeas31 added the COMP/GUI/OMEdit Issue and pull request related to OMEdit label Nov 10, 2022
@adeas31 adeas31 self-assigned this Nov 10, 2022
@adeas31 adeas31 enabled auto-merge (squash) November 10, 2022 14:31
@adeas31 adeas31 merged commit 8912034 into OpenModelica:master Nov 10, 2022
@adeas31 adeas31 deleted the parameter-display branch November 11, 2022 09:59
adeas31 added a commit to adeas31/OpenModelica that referenced this pull request Nov 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
COMP/GUI/OMEdit Issue and pull request related to OMEdit
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant