From dfb379dfc8c0f15f38cbe903e7a5636d6268d844 Mon Sep 17 00:00:00 2001 From: Arjen Hiemstra Date: Fri, 19 Jun 2015 11:58:24 +0200 Subject: [PATCH] Display the rotation angle when we are performing a rotation Contributes to Asana issue 36760525983768 --- resources/qml/Cura.qml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/resources/qml/Cura.qml b/resources/qml/Cura.qml index 5c6a5c9290..830470c9c6 100644 --- a/resources/qml/Cura.qml +++ b/resources/qml/Cura.qml @@ -279,6 +279,19 @@ UM.MainWindow { configureMachinesAction: actions.configureMachines; saveAction: actions.save; } + + Rectangle { + x: base.mouseX; + y: base.mouseY; + + width: childrenRect.width; + height: childrenRect.height; + Label { + text: UM.ActiveTool.properties.Rotation != undefined ? "%1°".arg(UM.ActiveTool.properties.Rotation) : ""; + } + + visible: UM.ActiveTool.valid && UM.ActiveTool.properties.Rotation != undefined; + } } }