Tipo diz o texto do seu bloco-handle; paleta sem teto de 192 itens
value_text no TypeBlock: um bloco-handle (TB_VALUE_BLOCK) aparece como
a library quiser ("tensor [3, 32, 32]") em vez de "[bloco Tipo]".
fly_items vira vetor que cresce: as libraries de categoria ja ocupavam
185 dos 192 itens e as variaveis empurravam categorias inteiras para fora.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
34c9a39c2c
commit
3dd132d12d
6 files changed
+52
-9
No files matched your search
@@ -187,7 +187,6 @@ enum { IT_SEL = 0, IT_BRUSH, IT_LINE, IT_RECT, IT_ELLIPSE,
|
||||
#define MAX_GROUPS 32
|
||||
#define GRP_HEAD_H 28 /* faixa do titulo (arrastar = mover tudo) */
|
||||
#define GRP_GRIP 16 /* canto de baixo a direita: redimensionar */
|
||||
#define MAX_FLY 192
|
||||
#define MAX_CATS 24
|
||||
#define MAX_CALL_DEPTH 32
|
||||
#define MAX_RUN_BLOCKS 200000
|
||||
@@ -791,8 +790,8 @@ typedef struct Ed {
|
||||
int cat_n;
|
||||
int myblocks_cat; /* índice da categoria "Meus Blocos" */
|
||||
Tab fly; /* blocos-modelo do flyout */
|
||||
FlyItem fly_items[MAX_FLY];
|
||||
int fly_n;
|
||||
FlyItem* fly_items; /* itens da paleta (vetor que cresce) */
|
||||
int fly_n, fly_cap;
|
||||
float fly_scroll, fly_total_h;
|
||||
|
||||
Tab tabs[MAX_TABS];
|
||||
|
||||
Reference in new issue
Block a user