Scale instead of center for preview/prepare-menus. [CURA-6478]

This commit is contained in:
Remco Burema 2019-04-25 21:50:24 +02:00
parent bd262ca6c4
commit c4265c1f67
4 changed files with 26 additions and 25 deletions

View file

@ -81,9 +81,6 @@ Item
// Prefix used for the dragged position preferences. Preferences not used if empty. Don't translate!
property string dragPreferencesNamePrefix: ""
// Whether this component can remain when switchin from one stage to the other (for ex. 'Prepare' to 'Preview')
property bool isMultiStage: false
function toggleContent()
{
contentContainer.visible = !expanded
@ -328,18 +325,6 @@ Item
updateDragPosition();
}
Connections
{
target: UM.Controller
onActiveStageChanged:
{
if (isMultiStage)
{
updateDragPosition();
}
}
}
// DO NOT MOVE UP IN THE CODE: This connection has to be here, after the definition of the content item.
// Apparently the order in which these are handled matters and so the height is correctly updated if this is here.
Connections

View file

@ -12,7 +12,6 @@ Cura.ExpandableComponent
id: printSetupSelector
dragPreferencesNamePrefix: "view/settings"
isMultiStage: true
property bool preSlicedData: PrintInformation.preSliced