getnamo / UnrealJs

Unreal.js plugin embedding v8.
Other
51 stars 6 forks source link

Javascript console auto-scrolling doesn't fully scroll in 5.1 #6

Open getnamo opened 1 year ago

getnamo commented 1 year ago

See https://github.com/getnamo/UnrealJs/commit/788ada1399209c630cc8b8b0bd87ad9f06db9d29

MessagesTextBox->ScrollTo(FTextLocation(MessagesTextMarshaller->GetNumMessages() - 1)); doesn't correctly scroll and MessagesTextBox->ScrollTo(ETextLocation::EndOfDocument); scrolls one line short of end.