We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e7e7834 + d29e14d commit 8ac6a64Copy full SHA for 8ac6a64
src/DropArea.vala
@@ -57,8 +57,6 @@ namespace Resizer {
57
this.add_overlay (drag_label);
58
}
59
public void show_preview(File[] files) throws Error {
60
- drag_label.visible = false;
61
- drag_label.no_show_all = true;
62
63
var file = files[0];
64
var pixbuf = new Gdk.Pixbuf.from_file_at_scale (
@@ -67,6 +65,10 @@ namespace Resizer {
67
65
500,
68
66
true
69
);
+
+ drag_label.no_show_all = true;
70
+ drag_label.visible = false;
71
72
image.set_from_pixbuf (pixbuf);
73
image.height_request = pixbuf.height;
74
image.width_request = pixbuf.width;
0 commit comments