File tree 2 files changed +3
-1
lines changed
2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -9,5 +9,5 @@ ShaderEffect {
9
9
id: cusColorOverlay
10
10
property Image source
11
11
property color imageColor
12
- fragmentShader: CusConfig .importPath + " Basic/ cusColorOverlay.frag.qsb"
12
+ fragmentShader: CusConfig .shaderPath + " cusColorOverlay.frag.qsb"
13
13
}
Original file line number Diff line number Diff line change @@ -21,9 +21,11 @@ QtObject {
21
21
property int tipTextPixel: 12
22
22
23
23
property string imagePathPrefix: " file:///./../Images/"
24
+ property string shaderPath: " file:///./Basic/"
24
25
Component .onCompleted : {
25
26
if (typeof (taoQuickImportPath) != " undefined" && taoQuickImportPath !== null && taoQuickImportPath .length > 0 ) {
26
27
imagePathPrefix = taoQuickImportPath + " TaoQuick/Images/"
28
+ shaderPath = taoQuickImportPath + " TaoQuick/Qml/Basic/"
27
29
}
28
30
currentTheme = 0
29
31
}
You can’t perform that action at this time.
0 commit comments