Small bug fix

This commit is contained in:
Digital Artifex
2025-08-22 21:33:10 -04:00
parent 02e7cf37c4
commit fc64109919
2 changed files with 4 additions and 2 deletions

View File

@@ -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 [

View File

@@ -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