From b79bf6f9d6116d37fbe4831d448672cae979b23c Mon Sep 17 00:00:00 2001 From: rbn42 Date: Sun, 14 Mar 2021 22:52:01 +0800 Subject: [PATCH] Fixes #53 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. --- plasmoid/contents/ui/Spectrum.qml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plasmoid/contents/ui/Spectrum.qml b/plasmoid/contents/ui/Spectrum.qml index 6098b57..eebb733 100644 --- a/plasmoid/contents/ui/Spectrum.qml +++ b/plasmoid/contents/ui/Spectrum.qml @@ -132,6 +132,7 @@ Item{ } } + /* ShaderEffectSource { id:glDFTSES width: glDFTSE.width @@ -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 @@ -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;