Merge pull request #1931 from HANDZCZ/fix-control-center-position

fix(control-center): prevent panel being stuck in one position
This commit is contained in:
Lysec
2026-02-22 16:58:51 +01:00
committed by GitHub
+2
View File
@@ -155,6 +155,8 @@ Item {
function open(buttonItem, buttonName) {
// Reset immediate close flag to ensure animations work properly
PanelService.closedImmediately = false;
// Reset to default - fixes panel being stuck in one position
root.useButtonPosition = false;
if (!buttonItem && buttonName) {
// Check if buttonName is actually a point object (click coordinates)