mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-30 00:12:50 -05:00
fix warnings
This commit is contained in:
@@ -320,7 +320,7 @@ DankModal {
|
|||||||
spacing: itemSpacing
|
spacing: itemSpacing
|
||||||
focus: true
|
focus: true
|
||||||
interactive: true
|
interactive: true
|
||||||
cacheBuffer: Math.min(height * 2, 1000)
|
cacheBuffer: Math.max(0, Math.min(height * 2, 1000))
|
||||||
reuseItems: true
|
reuseItems: true
|
||||||
|
|
||||||
onCurrentIndexChanged: {
|
onCurrentIndexChanged: {
|
||||||
@@ -496,7 +496,7 @@ DankModal {
|
|||||||
rightMargin: leftMargin
|
rightMargin: leftMargin
|
||||||
focus: true
|
focus: true
|
||||||
interactive: true
|
interactive: true
|
||||||
cacheBuffer: Math.min(height * 2, 1000)
|
cacheBuffer: Math.max(0, Math.min(height * 2, 1000))
|
||||||
reuseItems: true
|
reuseItems: true
|
||||||
|
|
||||||
onCurrentIndexChanged: {
|
onCurrentIndexChanged: {
|
||||||
|
|||||||
@@ -405,7 +405,7 @@ PanelWindow {
|
|||||||
spacing: itemSpacing
|
spacing: itemSpacing
|
||||||
focus: true
|
focus: true
|
||||||
interactive: true
|
interactive: true
|
||||||
cacheBuffer: Math.min(height * 2, 1000)
|
cacheBuffer: Math.max(0, Math.min(height * 2, 1000))
|
||||||
reuseItems: true
|
reuseItems: true
|
||||||
|
|
||||||
onCurrentIndexChanged: {
|
onCurrentIndexChanged: {
|
||||||
@@ -581,7 +581,7 @@ PanelWindow {
|
|||||||
rightMargin: leftMargin
|
rightMargin: leftMargin
|
||||||
focus: true
|
focus: true
|
||||||
interactive: true
|
interactive: true
|
||||||
cacheBuffer: Math.min(height * 2, 1000)
|
cacheBuffer: Math.max(0, Math.min(height * 2, 1000))
|
||||||
reuseItems: true
|
reuseItems: true
|
||||||
|
|
||||||
onCurrentIndexChanged: {
|
onCurrentIndexChanged: {
|
||||||
|
|||||||
Reference in New Issue
Block a user