mirror of
https://github.com/collinsmith/riiablo.git
synced 2025-02-21 20:18:14 +07:00
Minor fixes
Quest dialog scroller will reset to quest status text after finished Reduced left padding on dialog scoller to 4
This commit is contained in:
parent
09835a2071
commit
7abd18d62e
@ -238,7 +238,7 @@ public class QuestsPanel extends WidgetGroup implements Disposable {
|
||||
questDialog = new DialogScroller(new DialogScroller.DialogCompletionListener() {
|
||||
@Override
|
||||
public void onCompleted(DialogScroller d) {
|
||||
d.dispose();
|
||||
questDialog.setTextId(selected.quest.qsts[0]);
|
||||
}
|
||||
});
|
||||
add(questDialog).grow().row();
|
||||
|
@ -54,7 +54,7 @@ public class DialogScroller extends Table implements Disposable {
|
||||
scrollPane.setFlingTime(0);
|
||||
scrollPane.setOverscroll(false, false);
|
||||
scrollPane.setClamp(false);
|
||||
scrollPane.setScrollX(-5); // FIXME: actual preferred width of text isn't calculated anywhere, this is best guess
|
||||
scrollPane.setScrollX(-4); // FIXME: actual preferred width of text isn't calculated anywhere, this is best guess
|
||||
add(scrollPane).pad(PADDING).grow();
|
||||
pack();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user