Changeset 08858dd42eb1…
Parent ceca9be64ece…
by
Changes to one file · Browse files at 08858dd42eb1 Showing diff from parent ceca9be64ece Diff from another changeset...
@@ -138,7 +138,8 @@ palette = {}
def reassignifneeded(fctx):
- if mindate is None or fctx.date()[0] <= mindate or maxsaturations <= 1:
+ # fctx is the latest fctx which is NOT included in the palette
+ if mindate is None or fctx.date()[0] < mindate or maxsaturations <= 1:
return palette, cm
return _makeannotatepalette(sortedfctxs, now, maxcolors, maxhues,
maxsaturations - 1, mindate)
|
Loading...