|
@ -187,6 +187,7 @@ Rectangle { |
|
|
else |
|
|
else |
|
|
width = undefined |
|
|
width = undefined |
|
|
} |
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
Button |
|
|
Button |
|
|
{ |
|
|
{ |
|
@ -204,11 +205,17 @@ Rectangle { |
|
|
MouseArea { |
|
|
MouseArea { |
|
|
anchors.fill: parent |
|
|
anchors.fill: parent |
|
|
onClicked: { |
|
|
onClicked: { |
|
|
|
|
|
var globalCoord = goToLineBtn.mapToItem(statusContainer, 0, 0); |
|
|
|
|
|
if (mouseX > globalCoord.x |
|
|
|
|
|
&& mouseX < globalCoord.x + goToLineBtn.width |
|
|
|
|
|
&& mouseY > globalCoord.y |
|
|
|
|
|
&& mouseY < globalCoord.y + goToLineBtn.height) |
|
|
|
|
|
goToCompilationError.trigger(goToLineBtn); |
|
|
|
|
|
else |
|
|
logsContainer.toggle(); |
|
|
logsContainer.toggle(); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
Rectangle |
|
|
Rectangle |
|
|
{ |
|
|
{ |
|
@ -335,7 +342,6 @@ Rectangle { |
|
|
function move() |
|
|
function move() |
|
|
{ |
|
|
{ |
|
|
var statusGlobalCoord = status.mapToItem(null, 0, 0); |
|
|
var statusGlobalCoord = status.mapToItem(null, 0, 0); |
|
|
console.log("ddd " + statusGlobalCoord.x); |
|
|
|
|
|
logsContainer.x = statusGlobalCoord.x - logPane.contentXPos |
|
|
logsContainer.x = statusGlobalCoord.x - logPane.contentXPos |
|
|
logsShadow.x = statusGlobalCoord.x - logPane.contentXPos |
|
|
logsShadow.x = statusGlobalCoord.x - logPane.contentXPos |
|
|
logsShadow.z = 1 |
|
|
logsShadow.z = 1 |
|
|