# HG changeset patch # User Edouard Tisserant # Date 1586877302 -7200 # Node ID c73d0b042ca8b96d10355c750061c9d235ce83da # Parent 23c35f3ba111c186a7744830483f2d3810293d6a SVGHMI: HMI:DropDown element is brought in front when opened, so that it isn't occulted by other widgets at the same level. diff -r 23c35f3ba111 -r c73d0b042ca8 svghmi/widget_dropdown.ysl2 --- a/svghmi/widget_dropdown.ysl2 Tue Apr 14 17:13:12 2020 +0200 +++ b/svghmi/widget_dropdown.ysl2 Tue Apr 14 17:15:02 2020 +0200 @@ -146,6 +146,7 @@ } this.adjust_box_to_text(); this.element.removeChild(this.button_elt); + this.element.parentNode.appendChild(this.element.parentNode.removeChild(this.element)); // disable interaction with background document.addEventListener("click", this.bound_inhibit_click_elsewhere, true); this.opened = true;