Skip to content
Snippets Groups Projects
  • Joe Donofry's avatar
    50e382f5
    Modified the code that generates user's colors so that it will · 50e382f5
    Joe Donofry authored
    work regardless of the theme choices the user makes.  The code
    now incorporates the contrast between the background color and the
    color generated by the user_name when picking colors.  It currently
    has two 'big' issues:
    1. Colors are not cached.  I am planning on adding a QHash for this
    a little later.  This should improve performance by not calculating
    the color for the same users over and over and over again.
    2. Theme changes do not trigger the colors to get refreshed.
    Currently, you will have to switch to a different room and back
    to get the colors to refresh.
    50e382f5
    History
    Modified the code that generates user's colors so that it will
    Joe Donofry authored
    work regardless of the theme choices the user makes.  The code
    now incorporates the contrast between the background color and the
    color generated by the user_name when picking colors.  It currently
    has two 'big' issues:
    1. Colors are not cached.  I am planning on adding a QHash for this
    a little later.  This should improve performance by not calculating
    the color for the same users over and over and over again.
    2. Theme changes do not trigger the colors to get refreshed.
    Currently, you will have to switch to a different room and back
    to get the colors to refresh.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.