#27 Dynamic Background Color Fix; Comix 4.0.4

closed-fixed
Pontus Ekberg
None
5
2009-10-01
2009-07-20
No

When dynamic background color is selected in the preferences, it sets the background to something fairly unrelated to the edge colors of the image. It changes if the most common edge color changes, but it's still not right (i.e. a comic edge that's all white or black will show up yellow). This just is a quick one line fix for it. A pointer to a color tuple was being passed to the Color constructor, which takes either RGB values in decimal or a string in hex, ie. #FFFF35 or #FFFF0035F0DC. This just makes it utilize the first Color constructor, passing decimal values as returned by the get_most_common_edge_colour function.

Discussion

  • Pontus Ekberg
    Pontus Ekberg
    2009-10-01

    Hi,

    sorry for the late reply and thanks for the patch. It is now included in the latest SVN revision.

     
  • Pontus Ekberg
    Pontus Ekberg
    2009-10-01

    • assigned_to: nobody --> herrekberg
    • status: open --> closed-fixed