Skip to content

Commit

Permalink
Fix for Misc elements issues #216 Item 1 (Layout example: menu not pr…
Browse files Browse the repository at this point in the history
…ocessing up/down arrows correctly)
  • Loading branch information
djowel committed Aug 26, 2020
1 parent 0cc2aa4 commit dab3308
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions examples/layout/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -285,8 +285,8 @@ auto make_popup_menu(
auto menu =
layer(
vtile(
link(item1), link(item2),
link(item3), link(item4), link(item5)
item1, item2,
item3, item4, item5
),
panel{}
);
Expand Down
2 changes: 1 addition & 1 deletion lib/include/elements/view.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ namespace cycfi { namespace elements
void poll() override;

void layout();
void layout(element &element);
void layout(element& element);
float scale() const;
void scale(float val);

Expand Down

0 comments on commit dab3308

Please sign in to comment.