ref: 2671b10e41aac546012bf2ceb17a1b4b5f89f0b9
parent: c81a6c7f11ceecb213cc947b382e97bbbadce81d
author: Sigrid Haflínudóttir <ftrvxmtrx@gmail.com>
date: Tue Jan 7 13:08:19 EST 2020
put resize icon back
--- a/microui.c
+++ b/microui.c
@@ -1328,6 +1328,7 @@
mu_Id id = mu_get_id(ctx, "!resize", 7);
mu_Rect r = mu_rect(rect.x + rect.w - sz, rect.y + rect.h - sz, sz, sz);
mu_update_control(ctx, id, r, opt);
+ mu_draw_icon(ctx, MU_ICON_RESIZE, r);
if (id == ctx->focus && ctx->mouse_down == MU_MOUSE_LEFT) {
cnt->rect.w = MAX(96, cnt->rect.w + ctx->mouse_delta.x);
cnt->rect.h = MAX(64, cnt->rect.h + ctx->mouse_delta.y);