Skip to content

Commit

Permalink
Fixes #53
Browse files Browse the repository at this point in the history
The above 2 sections of code were not used. And after commenting them out, the issue was solved.

I guess this issue was caused by setting a parent element's width to its child element's width.
  • Loading branch information
rbn42 authored Mar 14, 2021
1 parent 736d9b0 commit b79bf6f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions plasmoid/contents/ui/Spectrum.qml
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ Item{
}
}

/*
ShaderEffectSource {
id:glDFTSES
width: glDFTSE.width
Expand Down Expand Up @@ -165,6 +166,7 @@ Item{
}
}
}
*/

readonly property bool loadImageShaderSource: shaderSourceReader.image_shader_source.trim().length>0
readonly property bool loadBufferShaderSource: shaderSourceReader.buffer_shader_source.trim().length>0
Expand Down Expand Up @@ -233,10 +235,12 @@ Item{


if(cfg.glDFT){
/*
waveBufferSE.newWave=imgsReady.w;
waveBufferSES.scheduleUpdate();
glDFTSES.scheduleUpdate();
mainSE.iChannel1=glDFTSES;
*/
}else{
mainSE.iChannel0=imgsReady.w;
mainSE.iChannel1=imgsReady.s;
Expand Down

0 comments on commit b79bf6f

Please sign in to comment.