mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 03:29:03 +08:00
Use pre-calculated control height
It's way faster to not re-compute every single time
This commit is contained in:
parent
d1afc63902
commit
e633b6408e
@ -156,7 +156,7 @@ Item
|
||||
{
|
||||
id: settingControls
|
||||
|
||||
height: Math.round(parent.height / 2)
|
||||
height: UM.Theme.getSize("section_control").height
|
||||
spacing: Math.round(UM.Theme.getSize("thick_margin").height / 2)
|
||||
|
||||
anchors
|
||||
|
@ -502,6 +502,7 @@
|
||||
"extruder_icon": [2.33, 2.33],
|
||||
|
||||
"section": [0.0, 2],
|
||||
"section_control": [0, 1],
|
||||
"section_icon": [1.6, 1.6],
|
||||
"section_icon_column": [2.8, 0.0],
|
||||
"rating_star": [1.0, 1.0],
|
||||
|
Loading…
x
Reference in New Issue
Block a user