txoof / epdlib

Python library for creating and writing modular layouts for e-paper screens
GNU General Public License v3.0
16 stars 8 forks source link

Borders are not updated by `update_block_props` #47

Closed txoof closed 1 year ago

txoof commented 1 year ago

Borders are not updated by update_block_props: The .border_config property of the block should have a fill color of 'BLUE', but is stuck at 255:

{'fill': 255, 'width': 3, 'sides': ['top']}

This can likely be fixed from within the set_block method in Layout.Layout by checking for a fill value in the border_config property and updating the fill to match the fill value.

image

txoof commented 1 year ago

corrected in v0.6.0.1