[gthumb] dragger: scale only after a timeout
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb] dragger: scale only after a timeout
- Date: Sat, 9 Nov 2013 20:10:37 +0000 (UTC)
commit ba7a2364f0d1d109bd35c7a69b63ae9f763d8450
Author: Paolo Bacchilega <paobac src gnome org>
Date: Tue Nov 5 16:52:27 2013 +0100
dragger: scale only after a timeout
gthumb/gth-image-dragger.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/gthumb/gth-image-dragger.c b/gthumb/gth-image-dragger.c
index 649b1dd..5d3e19f 100644
--- a/gthumb/gth-image-dragger.c
+++ b/gthumb/gth-image-dragger.c
@@ -524,10 +524,8 @@ _gth_image_dragger_update_scaled_image (GthImageDragger *self)
return;
}
- if (image_width * image_height <= SIZE_TOO_BIG_FOR_SCALE_BILINEAR) {
- self->priv->scaled = _cairo_image_surface_scale_bilinear (image, new_width, new_height);
+ if (image_width * image_height <= SIZE_TOO_BIG_FOR_SCALE_BILINEAR)
filter = SCALE_FILTER_TRIANGLE;
- }
else
filter = SCALE_FILTER_BOX;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]