Skip to content

Commit

Permalink
Updates in LUWRAIN API
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Pozhidaev committed Apr 23, 2019
1 parent 778a259 commit 50ce0f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/luwrain/app/viewer/App.java
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class App implements Application, Pdf.Listener

private void createArea()
{
this.area = new NavigationArea(new DefaultControlEnvironment(luwrain)) {
this.area = new NavigationArea(new DefaultControlContext(luwrain)) {
@Override public String getLine(int index)
{
return index < text.length?text[index]:"";
Expand Down

0 comments on commit 50ce0f2

Please sign in to comment.