Small bug fix
This commit is contained in:
@@ -248,8 +248,8 @@ Rectangle
|
|||||||
channel.mouseBias = json.mouse_scale ? json.mouse_scale : 1.0
|
channel.mouseBias = json.mouse_scale ? json.mouse_scale : 1.0
|
||||||
channel.iTimeScale = json.time_scale ? json.time_scale : 1.0
|
channel.iTimeScale = json.time_scale ? json.time_scale : 1.0
|
||||||
channel.iTimeDelta = Qt.binding(() => { return mainItem.iTimeDelta; })
|
channel.iTimeDelta = Qt.binding(() => { return mainItem.iTimeDelta; })
|
||||||
channel.width = mainItem.iResolution.x
|
channel.width = Qt.binding(() => channel.iResolution.x)
|
||||||
channel.height = mainItem.iResolution.y
|
channel.height = Qt.binding(() => channel.iResolution.y)
|
||||||
|
|
||||||
// channel.iChannelResolution = Qt.binding(() => {
|
// channel.iChannelResolution = Qt.binding(() => {
|
||||||
// return [
|
// return [
|
||||||
|
|||||||
@@ -112,6 +112,8 @@ Item
|
|||||||
|
|
||||||
id: channel
|
id: channel
|
||||||
visible: false // Set to false by default, main shader needs be set to true in MainWindow.qml
|
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
|
// This is used to dynamically load the appropriate channel type based on the `type` property of the channel
|
||||||
Loader
|
Loader
|
||||||
|
|||||||
Reference in New Issue
Block a user