mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 17:39:03 +08:00
remove comments
CURA-9793
This commit is contained in:
parent
bfb2b044bb
commit
7185b898a3
@ -96,13 +96,6 @@ Cura.MenuItem
|
|||||||
y: {
|
y: {
|
||||||
var popupHeight = materialTypesModel.material_types.count * UM.Theme.getSize("menu").height
|
var popupHeight = materialTypesModel.material_types.count * UM.Theme.getSize("menu").height
|
||||||
var spaceToBottom = materialBrandMenu.parent.height - parent.y // Space from hovered item to bottom of list
|
var spaceToBottom = materialBrandMenu.parent.height - parent.y // Space from hovered item to bottom of list
|
||||||
//
|
|
||||||
// print(materialTypesModel)
|
|
||||||
// print(materialTypesModel.material_types)
|
|
||||||
// print(materialTypesModel.material_types.count)
|
|
||||||
// print("popupHeight: " + popupHeight)
|
|
||||||
// print("parentHeight: " + parentHeight)
|
|
||||||
// print("parent.y: " + parent.y)
|
|
||||||
|
|
||||||
if (popupHeight < spaceToBottom)
|
if (popupHeight < spaceToBottom)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user