Launcher: set ignoreDensity default to true

This commit is contained in:
Lysec
2026-02-09 23:14:48 +01:00
parent a8822eaf0a
commit 43c9f0dec5
4 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -58,7 +58,7 @@ Rectangle {
readonly property var defaultProvider: appsProvider
readonly property var currentProvider: activeProvider || defaultProvider
readonly property string launcherDensity: (currentProvider && currentProvider.ignoreDensity) ? "default" : (Settings.data.appLauncher.density || "default")
readonly property string launcherDensity: (currentProvider && currentProvider.ignoreDensity === false) ? (Settings.data.appLauncher.density || "default") : "default"
readonly property int effectiveIconSize: launcherDensity === "comfortable" ? 48 : (launcherDensity === "default" ? 32 : 24)
readonly property int badgeSize: Math.round(effectiveIconSize * Style.uiScaleRatio)
readonly property int entryHeight: Math.round(badgeSize + (launcherDensity === "compact" ? (Style.marginL + Style.marginXXS) : (Style.marginXL + Style.marginS)))
@@ -14,6 +14,7 @@ Item {
property var entries: []
property string supportedLayouts: "both"
property bool isDefaultProvider: true // This provider handles empty search
property bool ignoreDensity: false // Apps should scale with launcher density
// Category support
property string selectedCategory: "all"
@@ -12,7 +12,6 @@ Item {
property string iconMode: Settings.data.appLauncher.iconMode
property string supportedLayouts: "list" // List view for clipboard content
property bool wrapNavigation: false // Don't wrap at end of list
property bool ignoreDensity: true // Clipboard density should remain consistent
// Provider capabilities
property bool handleSearch: false // Don't handle regular search
@@ -15,6 +15,7 @@ Item {
property int preferredGridColumns: 7 // More columns for compact emoji display
property real preferredGridCellRatio: 1.15 // Slightly taller than wide to accommodate label
property bool supportsAutoPaste: true // Emoji can be auto-pasted
property bool ignoreDensity: false // Emoji should scale with launcher density
property string selectedCategory: "recent"
property bool showsCategories: true // Default to showing categories