add anti flashbang

could be improve with smooth fading
This commit is contained in:
end-4
2025-10-22 23:56:50 +02:00
parent a4d2a720d0
commit b35ef90916
5 changed files with 105 additions and 8 deletions
@@ -79,10 +79,7 @@ AbstractQuickPanel {
delegate: ButtonGroup {
id: toggleRow
required property int index
property var modelData: {
print(JSON.stringify(root.toggleRows[index]))
return root.toggleRows[index]
}
property var modelData: root.toggleRows[index]
property int startingIndex: {
const rows = root.toggleRows;
let sum = 0;