Skip to content

Commit d2acb5c

Browse files
committed
update shaderPath
1 parent 4dca5d7 commit d2acb5c

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/TaoQuick/Qml/Basic/CusColorOverlay.qml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ ShaderEffect {
99
id: cusColorOverlay
1010
property Image source
1111
property color imageColor
12-
fragmentShader: CusConfig.importPath + "Basic/cusColorOverlay.frag.qsb"
12+
fragmentShader: CusConfig.shaderPath + "cusColorOverlay.frag.qsb"
1313
}

src/TaoQuick/Qml/CusConfig.qml

+2
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,11 @@ QtObject {
2121
property int tipTextPixel: 12
2222

2323
property string imagePathPrefix: "file:///./../Images/"
24+
property string shaderPath: "file:///./Basic/"
2425
Component.onCompleted: {
2526
if (typeof (taoQuickImportPath) != "undefined" && taoQuickImportPath !== null && taoQuickImportPath.length > 0) {
2627
imagePathPrefix = taoQuickImportPath + "TaoQuick/Images/"
28+
shaderPath = taoQuickImportPath + "TaoQuick/Qml/Basic/"
2729
}
2830
currentTheme = 0
2931
}

0 commit comments

Comments
 (0)