Hello,

I found a possible error in the current icon-theme-specification where
we can read in DirectorySizeDistance pseudo code:

  if Type is Threshold
    if iconsize*iconscale < (Size - Threshold)*Scale
        return MinSize*Scale - iconsize*iconscale
    if iconsize*iconsize > (Size + Threshold)*Scale
        return iconsize*iconsize - MaxSize*Scale
    return 0

Where MaxSize and MinSize aren't related to Threshold. I guess
replacing MaxSize by (Size+Threshold) and MinSize by (Size-Threshold)
in this lines seems more appropriate.

Best regards

--
Benoit Gschwind


_______________________________________________
xdg mailing list
xdg@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/xdg

Reply via email to