summaryrefslogtreecommitdiff
path: root/src/images/themedIcon.vala
diff options
context:
space:
mode:
Diffstat (limited to 'src/images/themedIcon.vala')
-rw-r--r--src/images/themedIcon.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/images/themedIcon.vala b/src/images/themedIcon.vala
index 29ae380..6c904a6 100644
--- a/src/images/themedIcon.vala
+++ b/src/images/themedIcon.vala
@@ -76,7 +76,7 @@ public class ThemedIcon : Image {
var layers = active ? Config.global.theme.active_slice_layers : Config.global.theme.inactive_slice_layers;
// get max size
- int size = 0;
+ int size = 1;
foreach (var layer in layers) {
if (layer.image.width() > size) size = layer.image.width();
}