From c710867ec795302b379a5cdf99cb4ad3ed2a9cdd Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Sun, 3 Jun 2018 22:40:05 +0200 Subject: [PATCH] removed support for off-screen positions for request dialog buttons --- src/tools.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tools.c b/src/tools.c index 87478255..fd588277 100644 --- a/src/tools.c +++ b/src/tools.c @@ -5326,8 +5326,8 @@ void CreateToolButtons() gi = CreateGadget(GDI_CUSTOM_ID, id, GDI_INFO_TEXT, toolbutton_info[i].infotext, - GDI_X, dx + GDI_ACTIVE_POS(pos->x), - GDI_Y, dy + GDI_ACTIVE_POS(pos->y), + GDI_X, dx + pos->x, + GDI_Y, dy + pos->y, GDI_WIDTH, gfx->width, GDI_HEIGHT, gfx->height, GDI_TYPE, GD_TYPE_NORMAL_BUTTON, -- 2.34.1