mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-07 14:04:03 -06:00
Remove infill icon changing density on change slider
Suggestion from @lorenzoromagnoli CURA-9793
This commit is contained in:
parent
261adf06e7
commit
f4e7829e0b
1 changed files with 0 additions and 33 deletions
|
@ -18,39 +18,6 @@ Item
|
|||
|
||||
property real labelColumnWidth: Math.round(width / 3)
|
||||
|
||||
// Create a binding to update the icon when the infill density changes
|
||||
Binding
|
||||
{
|
||||
target: infillRowTitle
|
||||
property: "source"
|
||||
value:
|
||||
{
|
||||
const infill_steps = parseInt(infillSteps.properties.value);
|
||||
if (infill_steps != 0)
|
||||
{
|
||||
return UM.Theme.getIcon("InfillGradual")
|
||||
}
|
||||
|
||||
const density = parseInt(infillDensity.properties.value)
|
||||
if (density == 0)
|
||||
{
|
||||
return UM.Theme.getIcon("Infill0");
|
||||
}
|
||||
else if (density < 40)
|
||||
{
|
||||
return UM.Theme.getIcon("Infill3");
|
||||
}
|
||||
else if (density < 90)
|
||||
{
|
||||
return UM.Theme.getIcon("Infill2");
|
||||
}
|
||||
else
|
||||
{
|
||||
return UM.Theme.getIcon("Infill100");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Here are the elements that are shown in the left column
|
||||
Cura.IconWithText
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue