Merge pull request #1418

5ba724b don't scroll to bottom after appending a new log message
This commit is contained in:
luigi1111 2018-05-21 23:17:33 -05:00
commit 9272767e4e
No known key found for this signature in database
GPG key ID: F4ACA0183641E010

View file

@ -150,9 +150,9 @@ Window {
textArea.append(_timestamp + " " + _msg); textArea.append(_timestamp + " " + _msg);
// scroll to bottom // scroll to bottom
if(flickable.contentHeight > content.height){ //if(flickable.contentHeight > content.height){
flickable.contentY = flickable.contentHeight + 20; // flickable.contentY = flickable.contentHeight + 20;
} //}
} }
} }
@ -213,4 +213,4 @@ Window {
color: "#2F2F2F" color: "#2F2F2F"
z: 2 z: 2
} }
} }