mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 05:05:53 +08:00
Remove outdated TODO
This commit is contained in:
parent
0e5aff84e9
commit
86b75ae3b6
@ -361,7 +361,7 @@ Item
|
|||||||
width: Math.floor((parent.width * 0.3))
|
width: Math.floor((parent.width * 0.3))
|
||||||
text: model.material
|
text: model.material
|
||||||
elide: Text.ElideRight
|
elide: Text.ElideRight
|
||||||
font.italic: { // TODO: make it easier
|
font.italic: {
|
||||||
const extruder_position = Cura.ExtruderManager.activeExtruderIndex;
|
const extruder_position = Cura.ExtruderManager.activeExtruderIndex;
|
||||||
const root_material_id = Cura.MachineManager.currentRootMaterialId[extruder_position];
|
const root_material_id = Cura.MachineManager.currentRootMaterialId[extruder_position];
|
||||||
return model.root_material_id == root_material_id
|
return model.root_material_id == root_material_id
|
||||||
@ -372,7 +372,7 @@ Item
|
|||||||
{
|
{
|
||||||
text: (model.name != model.material) ? model.name : ""
|
text: (model.name != model.material) ? model.name : ""
|
||||||
elide: Text.ElideRight
|
elide: Text.ElideRight
|
||||||
font.italic: { // TODO: make it easier
|
font.italic: {
|
||||||
const extruder_position = Cura.ExtruderManager.activeExtruderIndex;
|
const extruder_position = Cura.ExtruderManager.activeExtruderIndex;
|
||||||
const root_material_id = Cura.MachineManager.currentRootMaterialId[extruder_position];
|
const root_material_id = Cura.MachineManager.currentRootMaterialId[extruder_position];
|
||||||
return model.root_material_id == root_material_id;
|
return model.root_material_id == root_material_id;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user