Forums » Bugs

Deleting a system note does not delete the note color

Jul 17, 2022 Snib link
Deleting a system note via the nav window only deletes the string, not the color.
Jul 18, 2022 Snib link
I might have to clarify on this: I meant the color remains in the notes table, not that it still gets displayed (notes only get displayed when they have a string). So then the issue is that the next note will automatically take the old color rather than the default color of a new note.

On that note, not a bug but it would be useful if we could do notes without a color background, but currently if we nil it then it'll display the default color 99 instead. Maybe you could check for the color index to be >= 0 before you :SetColor() so we can programmatically -1 it for a transparent note. One of my plugins would love that.