Improved dropdown element

This commit is contained in:
Yousef Khadadeh 2026-05-01 15:36:58 +03:00
parent 5e195cf029
commit 515b591ee8
3 changed files with 113 additions and 83 deletions

View file

@ -416,7 +416,6 @@ void DrawingProgramLayerManagerGUI::setup_list_gui() {
left_to_right_line_layout(gui, [&]() {
text_label(gui, "Blend Mode");
gui.element<DropDown<size_t>>("input blend mode", &blendModeValToEdit, get_blend_mode_useful_name_list(), DropdownOptions{
.width = 190.0f,
.onClick = [&] {
auto editingLayerLock = editingLayer.lock();
if(editingLayerLock)