In DiagramEditor, when picking default property, we are now looping through all the pre-defined default props and pick the first one we encountered (we've changed it recently, before it was picking the last one we encounter).
The expected behavior should be picking the one that makes sense or letting user configure the default property?
For example, now if user defines both Resistance and Tolerance for a resistor, it could be picking Tolerance as the default prop...
This could affect props showing in Plots
Related code: check the
Created by Zhexuan Liu
January 10, 2022