Skip to content

Commit 19ac973

Browse files
committed
fix: remove dbg
1 parent bc9f70b commit 19ac973

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

lib/ui/include/ui/buttons.h

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ auto make_button(view &_view, Method method,
1111
const std::vector<std::string> &files) {
1212
auto on_click = [&_view, &files, method](bool) {
1313
auto dialog = make_dialog(_view, method, files);
14-
std::cout << MethodMap.at(method) << std::endl;
1514
_view.add(dialog);
1615
_view.refresh();
1716
};
@@ -28,11 +27,11 @@ auto make_buttons(view &_view, const std::vector<std::string> &files) {
2827
auto cpu_smd_button = make_button(_view, Method::CPUSMD, files);
2928
auto gpu_smd_button = make_button(_view, Method::GPUSMD, files);
3029

31-
return htile(left_margin(10, cpu_tenengrad_button),
32-
left_margin(10, gpu_tenengrad_button),
33-
left_margin(10, cpu_laplacian_button),
34-
left_margin(10, gpu_laplacian_button),
35-
left_margin(10, cpu_smd_button),
36-
left_margin(10, gpu_smd_button));
30+
return htile(left_margin(10, vtile(top_margin(10, cpu_tenengrad_button),
31+
top_margin(10, gpu_tenengrad_button))),
32+
left_margin(10, vtile(top_margin(10, cpu_laplacian_button),
33+
top_margin(10, gpu_laplacian_button))),
34+
left_margin(10, vtile(top_margin(10, cpu_smd_button),
35+
top_margin(10, gpu_smd_button))));
3736
}
3837
} // namespace ui

0 commit comments

Comments
 (0)