Skip to content

Commit

Permalink
Remove unused parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
barreeeiroo committed Oct 24, 2023
1 parent 6993d7f commit 12984f1
Showing 1 changed file with 3 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,14 +68,10 @@ public void onBrowserEvent(Event event) {
}
}

public SourceStructureExplorer() {
this(true);
}

/**
* Creates a new source structure explorer.
*/
public SourceStructureExplorer(boolean includeButtonPanel) {
public SourceStructureExplorer() {
// Initialize UI elements
tree = new EventCaptureTree(Ode.getImageBundle());
tree.setAnimationEnabled(true);
Expand Down Expand Up @@ -178,12 +174,8 @@ public void onClick(ClickEvent event) {

VerticalPanel panel = new VerticalPanel();
panel.add(scrollPanel);
// TODO([email protected]): With App Inventor's current layout, as of now this is the only place to
// render these buttons...
// if (includeButtonPanel) {
panel.add(new Label());
panel.add(buttonPanel);
// }
panel.add(new Label());
panel.add(buttonPanel);
panel.setCellHorizontalAlignment(buttonPanel, HorizontalPanel.ALIGN_CENTER);
initWidget(panel);
}
Expand Down

0 comments on commit 12984f1

Please sign in to comment.