Don't spam stuff when we are loading the preview

This commit is contained in:
Luca Beltrame 2015-03-01 23:42:57 +01:00
parent 1dbe2dcec1
commit 2ed24cf2d7

View file

@ -378,7 +378,6 @@ Rectangle {
if (!enlargeAnimation.running) {
overlayBox.visible = true
overlayText.visible = true
console.log(imageOverlay.paintedWidth / imageOverlay.paintedHeight)
if (imageOverlay.paintedWidth / imageOverlay.paintedHeight <= 1.6) {
overlayBox.height = imageOverlay.paintedHeight * 0.03