Fix: update terminal image on resize and font change.

This commit is contained in:
Filippo Scognamiglio 2014-09-23 10:45:48 +02:00
parent 1febce3775
commit 4b87b6e5d6

View File

@ -93,6 +93,9 @@ Item{
}
}
onWidthChanged: update();
onHeightChanged: update();
FontLoader{ id: fontLoader }
Text{id: fontMetrics; text: "B"; visible: false}
@ -105,6 +108,7 @@ Item{
height = Qt.binding(function() {return Math.floor(terminalContainer.height / screenScaling);});
setLineSpacing(lineSpacing);
update();
restartBlurredSource();
}
Component.onCompleted: {