diff --git a/package/contents/ui/KomplexModel.qml b/package/contents/ui/KomplexModel.qml index 59cab8b..1575ead 100644 --- a/package/contents/ui/KomplexModel.qml +++ b/package/contents/ui/KomplexModel.qml @@ -248,8 +248,8 @@ Rectangle channel.mouseBias = json.mouse_scale ? json.mouse_scale : 1.0 channel.iTimeScale = json.time_scale ? json.time_scale : 1.0 channel.iTimeDelta = Qt.binding(() => { return mainItem.iTimeDelta; }) - channel.width = mainItem.iResolution.x - channel.height = mainItem.iResolution.y + channel.width = Qt.binding(() => channel.iResolution.x) + channel.height = Qt.binding(() => channel.iResolution.y) // channel.iChannelResolution = Qt.binding(() => { // return [ diff --git a/package/contents/ui/ShaderChannel.qml b/package/contents/ui/ShaderChannel.qml index 1c5a798..ae7ed54 100644 --- a/package/contents/ui/ShaderChannel.qml +++ b/package/contents/ui/ShaderChannel.qml @@ -112,6 +112,8 @@ Item id: channel visible: false // Set to false by default, main shader needs be set to true in MainWindow.qml + width: iResolution.x + height: iResolution.y // This is used to dynamically load the appropriate channel type based on the `type` property of the channel Loader