DirectWidgetSettingsPanel

This commit is contained in:
ItsLemmy
2025-10-22 09:39:24 -04:00
parent 508879bbe8
commit 9003c60667
6 changed files with 74 additions and 45 deletions
-12
View File
@@ -44,7 +44,6 @@ NPanel {
property int requestedTab: SettingsPanel.Tab.General
property int currentTabIndex: 0
property var requestedWidgetSettings: []
property var tabsModel: []
property var activeScrollView: null
@@ -240,17 +239,6 @@ NPanel {
root.currentTabIndex = initialIndex
}
function openWidgetSettings(section, widgetIndex, widgetId, widgetData) {
settingsPanel.requestedWidgetSettings = {
"sectionId": section,
"widgetIndex": widgetIndex,
"widgetId": widgetId,
"widgetData": widgetData
}
settingsPanel.requestedTab = SettingsPanel.Tab.Bar
settingsPanel.open()
}
// Add scroll functions
function scrollDown() {
if (activeScrollView && activeScrollView.ScrollBar.vertical) {