forked from mit-cml/appinventor-sources
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove unused logic and feature flag check
- Loading branch information
1 parent
2b1a9ce
commit a588409
Showing
3 changed files
with
6 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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); | ||
|
@@ -178,12 +174,6 @@ 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.setCellHorizontalAlignment(buttonPanel, HorizontalPanel.ALIGN_CENTER); | ||
initWidget(panel); | ||
} | ||
|