mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-09 06:45:09 -06:00
Cleanup debugging things for cura-6874
CURA-6874
This commit is contained in:
parent
6bef16bbec
commit
958a922808
3 changed files with 11 additions and 19 deletions
|
@ -17,21 +17,14 @@ Item
|
|||
property var safeArea: parent
|
||||
|
||||
// Subtract the actionPanel from the safe area. This way the view won't draw interface elements under/over it
|
||||
Rectangle
|
||||
Item
|
||||
{
|
||||
id: childSafeArea
|
||||
x: safeArea.x - parent.x
|
||||
y: safeArea.y - parent.y
|
||||
width: actionPanelWidget.x - x
|
||||
height: actionPanelWidget.y - y
|
||||
visible: false // true for debug only
|
||||
color:"#800000FF"
|
||||
|
||||
Component.onCompleted: {
|
||||
print("parent", parent.x, parent.y)
|
||||
print("parent safe", safeArea.x, safeArea.y)
|
||||
print("previewmain safe", childSafeArea.x, childSafeArea.y, childSafeArea.width, childSafeArea.height)
|
||||
}
|
||||
visible: false
|
||||
}
|
||||
|
||||
Loader
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue