diff --git a/src/node_panel_quick.cpp b/src/node_panel_quick.cpp index aaba695..88e66dd 100644 --- a/src/node_panel_quick.cpp +++ b/src/node_panel_quick.cpp @@ -147,7 +147,7 @@ void NodePanelQuick::handle_button_brush_click(Node* button) tick->set_image("data/ui/popup-tick.png"); tick->m_scale = { 1, 1 }; - float hh = popup->m_container->m_children.size() > 10 ? (screen.y / App::I.zoom - 90.f) : 400.f; + float hh = popup->m_container->m_children.size() > 10 ? (screen.y - 90.f) : 400.f; popup->SetHeight(glm::max(hh, 400.f)); popup->SetPositioning(YGPositionTypeAbsolute); popup->SetPosition(popup_pos);