sddm-theme: Use real multi-line strings in JavaScript expressions

Double quoted multi-line strings are custom Qt extension, and thus
should be avoided, as they are problematic for syntax support in
various text editors.

GIT_SILENT
wilder-5.25
ivan tkachenko 4 years ago
parent 89f41d87b4
commit 4ba8d9dc67
No known key found for this signature in database
GPG Key ID: 4D197017E61437CF
  1. 5
      lookandfeel/contents/components/WallpaperFader.qml

@ -74,7 +74,7 @@ Item {
0, 0, 0, 1 0, 0, 0, 1
)); ));
fragmentShader: " fragmentShader: `
uniform mediump mat4 colorMatrix; uniform mediump mat4 colorMatrix;
uniform mediump sampler2D source; uniform mediump sampler2D source;
varying mediump vec2 qt_TexCoord0; varying mediump vec2 qt_TexCoord0;
@ -84,7 +84,8 @@ Item {
{ {
mediump vec4 tex = texture2D(source, qt_TexCoord0); mediump vec4 tex = texture2D(source, qt_TexCoord0);
gl_FragColor = tex * colorMatrix * qt_Opacity; gl_FragColor = tex * colorMatrix * qt_Opacity;
}" }
`
} }
states: [ states: [

Loading…
Cancel
Save