GP: Expand properties layer list
This commit is contained in:
parent
b3cb4eaa03
commit
a914159f62
|
@ -128,10 +128,7 @@ class DATA_PT_gpencil_datapanel(Panel):
|
|||
row = layout.row()
|
||||
|
||||
col = row.column()
|
||||
if len(gpd.layers) >= 2:
|
||||
layer_rows = 5
|
||||
else:
|
||||
layer_rows = 2
|
||||
layer_rows = 8
|
||||
col.template_list("GPENCIL_UL_layer", "", gpd, "layers", gpd.layers, "active_index", rows=layer_rows)
|
||||
|
||||
col = row.column()
|
||||
|
|
Loading…
Reference in New Issue