Skip to content
This repository has been archived by the owner on Oct 26, 2024. It is now read-only.

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
sysint64 committed Jul 13, 2019
1 parent 40abc8e commit 23c752b
Showing 1 changed file with 3 additions and 17 deletions.
20 changes: 3 additions & 17 deletions src/rpui/widgets/list_menu/renderer.d
Original file line number Diff line number Diff line change
Expand Up @@ -23,25 +23,11 @@ final class ListMenuRenderer : Renderer {
}

override void onRender() {
renderBlock(theme, background, backgroundTransforms);

// if (!widget.isBindDataMode) {
// widget.renderChildren();
// } else {
// renderBindItems();
// }
if (widget.isPopup) {
renderBlock(theme, background, backgroundTransforms);
}
}

// private void renderBindItems() {
// stackLocator.startWidgetsPositioning();

// foreach (item; widget.bindItems) {
// auto widgetToRender = widget.children.front.associatedWidget;
// widget.visitBindItem(item, widgetToRender);
// widgetToRender.onRender();
// }
// }

override void onProgress(in ProgressEvent event) {
backgroundTransforms = updateBlockTransforms(
background.widths,
Expand Down

0 comments on commit 23c752b

Please # to comment.