diff options
-rwxr-xr-x | fracciones.activity/gtkcake.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fracciones.activity/gtkcake.py b/fracciones.activity/gtkcake.py index 8ebca59..853235b 100755 --- a/fracciones.activity/gtkcake.py +++ b/fracciones.activity/gtkcake.py @@ -150,7 +150,7 @@ class Cake(gtk.DrawingArea): # Escala la imagen al tamaño de la superficie # WIDTH/HEIGHT corresponden al tamaño de los graficos rect = self.get_allocation() - tmp_context.scale( + showed_context.scale( float(rect.width) / WIDTH, float(rect.height) / HEIGHT ) |