|
@@ -8,6 +8,9 @@ import Cura 1.0 as Cura
|
|
|
|
|
|
Item
|
|
|
{
|
|
|
+ width: parent.width
|
|
|
+ height: parent.height
|
|
|
+
|
|
|
// We show a nice overlay on the 3D viewer when the current output device has no monitor view
|
|
|
Rectangle
|
|
|
{
|
|
@@ -16,7 +19,6 @@ Item
|
|
|
color: UM.Theme.getColor("viewport_overlay")
|
|
|
width: parent.width
|
|
|
height: parent.height
|
|
|
- visible: monitorViewComponent.sourceComponent == null ? 1 : 0
|
|
|
|
|
|
MouseArea
|
|
|
{
|
|
@@ -30,6 +32,9 @@ Item
|
|
|
{
|
|
|
id: monitorViewComponent
|
|
|
|
|
|
+ width: parent.width
|
|
|
+ height: parent.height
|
|
|
+
|
|
|
property real maximumWidth: parent.width
|
|
|
property real maximumHeight: parent.height
|
|
|
|