tobykurien/rpi_lcars

Buttons and Hidden Buttons

StaticTank opened this issue · 2 comments

I discovered a minor issue. This occurs if you have two buttons that exist in the same space. In my case one button was hidden and another was visible. When you click/tap a visible button it will act normal. However if you hide the visible button and show the hidden button. The previously hidden button will be white as though it was pressed but never released. I was able to fix this by adding "and self.visible == True" to two if statements under the def handleEvent in the lcars_widget.py code.

Thanks, could you please send a pull request with those changes?