Commit Graph
2 Commits
  • Backend changes for first day of week
    Previously only Sunday and Monday were allowed for the first day of the
    week, and was internally treated as a binary variable.
    
    This patch changes the backend so all days are accepted, a future patch
    will allow users to actually select other days.
    
    Addresses GitHub feature request #321.
    
    Signed-off-by: Morgan Seltzer <MorganSeltzer000@gmail.com>
    Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
  • Fixed sidebar config sometime not increasing width
    The sidebar has a numerical mimumum width that is statically defined,
    and users may set the width of the sidebar in config by incrementing the
    percentage of the screen between this minimum and a maximum value of
    50%. However, internally the mimimum percentage could be set as low as
    zero, and while that did not decrease the sidebar size below the
    numerical minimum width, did mean that between 0 and the mimimum width
    increasing the percentage had no visual effect to indicate change. Now
    the mimimum percent is not decremented below the mimimum width.
    
    Signed-off-by: Morgan Seltzer <MorganSeltzer000@gmail.com>
    Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>