Fix #128262: Fix alignment in Grease Pencil layer tree view

Remove the additional padding that was added to groups in the Layer
tree view to align the icons and labels with the ones from the normal
layers.

Pull Request: https://projects.blender.org/blender/blender/pulls/128305
This commit is contained in:
Leon Schittek
2024-09-29 15:21:21 +02:00
committed by Falk David
parent 774bf48925
commit 012b0ec528

View File

@@ -382,8 +382,6 @@ class LayerGroupViewItem : public AbstractTreeViewItem {
void build_layer_group_name(uiLayout &row)
{
uiItemS_ex(&row, 0.8f);
short icon = ICON_GREASEPENCIL_LAYER_GROUP;
if (group_.color_tag != LAYERGROUP_COLOR_NONE) {
icon = ICON_LAYERGROUP_COLOR_01 + group_.color_tag;