Commit 82ff86a8 authored by Lukas Marik's avatar Lukas Marik

#680 fix reset position

parent acc2b00d
......@@ -25,7 +25,7 @@ buildscript {
jcenter { url "http://jcenter.bintray.com/" }
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.2'
classpath 'com.android.tools.build:gradle:2.2.3'
classpath 'org.robovm:robovm-gradle-plugin:1.12.0'
classpath 'com.github.JakeWharton:sdk-manager-plugin:220bf7a88a7072df3ed16dc8466fb144f2817070'
classpath 'com.novoda:gradle-android-command-plugin:1.3.0'
......
......@@ -251,6 +251,9 @@ public class EncyclopediaScreen extends AbstractTablexiaScreen<Void> {
if (content.hasChildren()) {
content.clearChildren();
}
contentScrollPane.setScrollY(0);
FileHandle fileHandle = getFile(pageResourceName + SOURCE_FILE_EXTENSION);
List<Content> contentList = ContentParser.parseEncyclopediaPageContent(fileHandle.readString());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment