mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user