Skip to content

Commit

Permalink
temp screen size solution
Browse files Browse the repository at this point in the history
  • Loading branch information
Feqzz committed Aug 5, 2020
1 parent 9d5d2fd commit 1bfd2dd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions view/session.qml
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ Rectangle {
var screenIndex = focusScreen ? selectedScreenIndex : index
//console.log(screenIndex)
source = "image://live/image?id=" + counter + "&" + screenIndex
borderRectangle.width = liveImage.paintedWidth + 2
borderRectangle.height = liveImage.paintedHeight + 2
//borderRectangle.width = liveImage.paintedWidth + 2
//borderRectangle.height = liveImage.paintedHeight + 2
if (imageHandler.getAudioIsDisabled(index)) {
borderRectangle.color = "#DB504A";
}
Expand All @@ -112,7 +112,7 @@ Rectangle {
onDoubleClicked: {
selectedScreenIndex = index
focusScreen = !focusScreen
repeaterId.model = 0
//repeaterId.model = 0
repeaterId.model = focusScreen ? 1 : imageHandler.getNumberOfScreens()
}
}
Expand Down

0 comments on commit 1bfd2dd

Please sign in to comment.