From c75d4be1c2e99aa8338f4b22e94cf19a8cd3dabf Mon Sep 17 00:00:00 2001 From: mguinhos Date: Tue, 20 Oct 2026 21:48:37 -0300 Subject: [PATCH] Balao de previa: deixa a perninha mais fina/discreta --- libraries/tinyblocks-editor/src/tb_editor.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/libraries/tinyblocks-editor/src/tb_editor.c b/libraries/tinyblocks-editor/src/tb_editor.c index 6984fb2..59a44a3 100644 --- a/libraries/tinyblocks-editor/src/tb_editor.c +++ b/libraries/tinyblocks-editor/src/tb_editor.c @@ -556,13 +556,13 @@ static inline void rb_line(TinyBlocks_RenderableBlock* rb, float x0,float y0,flo /* Perninha (triangulo) do balao de previa, apontando para baixo. * bottom = linha de baixo da borda do balao. */ static void rb_bubble_tail(TinyBlocks_RenderableBlock* rb, float cx, float bottom, Col fill) { - for (int k = 0; k < 9; k++) { - float hw = 7.0f * (1.0f - (float)k / 9.0f); + for (int k = 0; k < 6; k++) { + float hw = 4.0f * (1.0f - (float)k / 6.0f); rb_fill_rect(rb, cx - hw, bottom + k, hw * 2.0f, 1.0f, COL_BORDER); } - for (int k = 0; k < 7; k++) { - float hw = 5.0f * (1.0f - (float)k / 7.0f); - rb_fill_rect(rb, cx - hw, bottom - 2 + k, hw * 2.0f, 1.0f, fill); + for (int k = 0; k < 5; k++) { + float hw = 2.6f * (1.0f - (float)k / 5.0f); + rb_fill_rect(rb, cx - hw, bottom - 1 + k, hw * 2.0f, 1.0f, fill); } }