Closed kimprice closed 1 year ago
Ah now I see why I couldn't repro the behavior on my end; energy is actually the built in StatusBarKind for status bars, so that part's correct: https://github.com/jwunderl/pxt-status-bar/blob/master/status-bar.ts#L61 and food is the kind the user made; the issue here is that it tried to change Food's of the other kind and not just the ones that are statusbarkinds
@riknoll bit of an edge case I suppose. I'd guess we might actually have wanted to disallow the user from creating a kind with the same name in different 'namespaces' in the first place?
Describe the bug I think it has to do with the status bars extension. It allows me to rename a built-in kind and not a user-made kind.
To Reproduce Steps to reproduce the behavior:
Expected behavior You should be able to rename "Energy" and not "Food."
Screenshots