Closed EmNudge closed 3 years ago
Created context menu prototype over here: https://svelte.dev/repl/3a33725c3adb4f57b46b597f9dade0c1?version=3.25.0
Will probably need to add an option for icons as I think it helps and/or looks nice. I could alternatively let the user provide some html in the slot which can be anything, from another menu to text with an icon.
Color picker has been added. Just the names of the colors exist for now and there are no menu icons.
These may be changed in the future.
This issue is tracking the progress on the color for lines. Currently, a random color from a specific assortment is selected whenever a new line is created. This can often result in multiple lines having the same color. Sometimes this can be beneficial - if someone wants to show how 2 sine waves are closely correlated.
Regardless, a system for specifying the color of a line after creation would probably be preferable. As to not clutter the UI, this would probably be included in a custom right-click menu. I drew up a mockup design in figma: