Limit combobox item width, use multiple rows

This commit is contained in:
dec05eba
2025-02-05 20:41:11 +01:00
parent b4c85910ce
commit 8c148aceda
7 changed files with 37 additions and 46 deletions

View File

@@ -65,8 +65,7 @@ namespace gsr {
if(!visible)
return;
mgl_scissor scissor;
mgl_window_get_scissor(window.internal_window(), &scissor);
const mgl::Scissor scissor = window.get_scissor();
const mgl::vec2f draw_pos = position + offset;
const mgl::vec2f mouse_pos = window.get_mouse_position().to_vec2f();