584c5cedb1
* Add support for resizing notification icon with respect to aspect Previously, if an icon was not exactly square, an icon size set in configuration would cause the notification to pad the icon with empty space so dimensions are equal. Now behaviour is different: the bigger dimension of the icon is scaled to fit the icon_size value, while smaller is scaled same amount to preserve aspect. Also, ImageSurface is now not created as fixed size square, but it's dimensions are computed in similar way. * Round the computed dimensions of ImageSurface Even one pixel off is still off. |
||
---|---|---|
.. | ||
core.lua | ||
dbus.lua | ||
init.lua |