implement document resize with menu and dialog
This commit is contained in:
@@ -429,6 +429,12 @@ void App::init_menu_file()
|
||||
dialog_export();
|
||||
popup->mouse_release();
|
||||
popup->destroy();
|
||||
};
|
||||
if (auto b = popup->find<NodeButtonCustom>("file-resize"))
|
||||
b->on_click = [this](Node*) {
|
||||
dialog_resize();
|
||||
popup->mouse_release();
|
||||
popup->destroy();
|
||||
};
|
||||
if (auto b = popup->find<NodeButtonCustom>("file-export-cubes"))
|
||||
b->on_click = [this](Node*) {
|
||||
|
||||
Reference in New Issue
Block a user