From 6e006610115f23a2c99d9d272ef2e322ea904d86 Mon Sep 17 00:00:00 2001 From: Robert Jelic <36573031+NoryiE@users.noreply.github.com> Date: Thu, 4 May 2023 21:02:02 +0200 Subject: [PATCH] Small Fix - Fixed dropdown draw-priority order (on same z-index) --- Basalt/objects/Dropdown.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/Basalt/objects/Dropdown.lua b/Basalt/objects/Dropdown.lua index e03d2bb..179abf2 100644 --- a/Basalt/objects/Dropdown.lua +++ b/Basalt/objects/Dropdown.lua @@ -85,6 +85,7 @@ return function(name, basalt) local base = base:getBase() if (base.mouseHandler(self, button, x, y)) then isOpened = true + self:getParent():setImportant(self) self:updateDraw() return true else