[Bug] Input blocks related to a hub in list of input blocks can have different hub names
Describe the bug
Very minor, really NO problem.
If the hub is initialized as "HUB" some of the input blocks show the hub as HUB and some as hub
This does not occur if the hub is named e.g. MyHub
If the input block is choosen this is no longer a problem. The block gets the correct hub name.
To reproduce Steps to reproduce the behavior:
- Create or open a block program
- Define a hub and name it
HubhUbHUBhuBor any other combo of the letters hub in capitals or lowercase. - click on
inputto add a block - See the different capitalization of the hub related blocks.
Expected behavior All blocks use the same hub identification
Screenshots
The image shows it better than I can tell:
The hub in this case is named hUB just as it is attracting the attention.
Part of the input blocks:
Version info
-
win11 23H2
-
MicroPython for LEGO® Powered Up smart hubs. v3.5.0 (Pybricks Beta v2.6.0-beta.2)
-
Google Chrome Version 129.0.6668.59 (Official Build) (64-bit)
EDIT
Not only in input blocks but also in output e.g.hub broadcast / beep / display
Good catch, thank you!