rpi_lcars icon indicating copy to clipboard operation
rpi_lcars copied to clipboard

Buttons and Hidden Buttons

Open StaticTank opened this issue 5 years ago • 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.

StaticTank avatar Apr 28 '19 04:04 StaticTank

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

tobykurien avatar Apr 28 '19 05:04 tobykurien

Sure. Never done that before will take a look!

On Sun, Apr 28, 2019, 12:38 AM Toby Kurien [email protected] wrote:

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

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/tobykurien/rpi_lcars/issues/21#issuecomment-487345809, or mute the thread https://github.com/notifications/unsubscribe-auth/AGKYPS7EF47TWYR6D5KDD6TPSUZ4NANCNFSM4HI5TBHQ .

StaticTank avatar Apr 28 '19 13:04 StaticTank