Place Control Center tiles freely and host plugin widgets as tiles
Tiles keep the cell they are dropped in, so gaps stay where they are left; moving or resizing onto other tiles pushes those straight down. Enabled plugins with a Noctalia controlCenterWidget entry point are offered as tiles in edit mode. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
72a21c9363
commit
7f1189606c
14 files changed
+412
-157
No files matched your search
@@ -242,6 +242,11 @@ Item {
|
||||
input.mouseClick(item, item.width / 2, item.height / 2);
|
||||
return true;
|
||||
}
|
||||
// A property of a named item, as JSON (plugin fixtures).
|
||||
function itemValue(name: string, key: string): string {
|
||||
const item = root.child(name);
|
||||
return item ? JSON.stringify(item[key]) : "";
|
||||
}
|
||||
function value(name: string): real {
|
||||
const item = root.child(name);
|
||||
return item ? item.value : -1;
|
||||
|
||||
Reference in new issue
Block a user