WebDataWidget: 'filled' property doesnt work as expected with 'circle' #230

Open
opened 2025-01-23 19:12:49 +00:00 by bshep · 0 comments
bshep commented 2025-01-23 19:12:49 +00:00 (Migrated from github.com)

When using a WebDataWidget and using a 'circle' element, the expected behavior if for the circle to be filled when 'filled' is set to 'true' however this only works if its set to '1', this is due to this line:

github.com/brettdottech/info-orbs@541bba9afe/firmware/src/widgets/webdatawidget/WebDataElementCircleModel.cpp (L71)

This int32_t should be replaced by bool.

When using a WebDataWidget and using a 'circle' element, the expected behavior if for the circle to be filled when 'filled' is set to 'true' however this only works if its set to '1', this is due to this line: https://github.com/brettdottech/info-orbs/blob/541bba9afe7dc77d519dd9e214ee1c211c046fd9/firmware/src/widgets/webdatawidget/WebDataElementCircleModel.cpp#L71 This `int32_t ` should be replaced by `bool`.
Sign in to join this conversation.
No description provided.