mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-28 05:11:04 -07:00
Apply suggestions from code review
Co-authored-by: Casper Lamboo <c.lamboo@ultimaker.com> Co-authored-by: Jelle Spijker <j.spijker@ultimaker.com>
This commit is contained in:
parent
e03b4e07f9
commit
1e6184448c
11 changed files with 26 additions and 25 deletions
|
|
@ -14,8 +14,8 @@ RecommendedSettingSection
|
|||
|
||||
title: catalog.i18nc("@label", "Adhesion")
|
||||
icon: UM.Theme.getIcon("Adhesion")
|
||||
enableSectionSwitchVisible: platformAdhesionType.properties.enabled == "True"
|
||||
enableSectionSwitchChecked: platformAdhesionType.properties.value != "skirt" && platformAdhesionType.properties.value != "none"
|
||||
enableSectionSwitchVisible: platformAdhesionType.properties.enabled === "True"
|
||||
enableSectionSwitchChecked: platformAdhesionType.properties.value !== "skirt" && platformAdhesionType.properties.value !== "none"
|
||||
enableSectionSwitchEnabled: recommendedPrintSetup.settingsEnabled
|
||||
tooltipText: catalog.i18nc("@label", "Enable printing a brim or raft. This will add a flat area around or under your object which is easy to cut off afterwards.")
|
||||
|
||||
|
|
@ -30,7 +30,8 @@ RecommendedSettingSection
|
|||
storeIndex: 0
|
||||
}
|
||||
|
||||
function onEnableSectionChanged(state) {
|
||||
function onEnableSectionChanged(state)
|
||||
{
|
||||
curaRecommendedMode.setAdhesion(state)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue